[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.3-790-g8d66441
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2015-07-14 15:56:11
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 8d66441dd02856f0856e2836e94f4a52f2d6b0b5 (commit)
from ebafae462d155455c97de4c833c402dfc75ce1d0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8d66441dd02856f0856e2836e94f4a52f2d6b0b5
Author: Julien Boibessot <jul...@ar...>
Date: Tue Jul 14 17:55:59 2015 +0200
[TEST] Add APF6 support to backlight test
-----------------------------------------------------------------------
Summary of changes:
target/test/test_backlight.sh | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/target/test/test_backlight.sh b/target/test/test_backlight.sh
index 0788868..a353e08 100755
--- a/target/test/test_backlight.sh
+++ b/target/test/test_backlight.sh
@@ -40,6 +40,13 @@ load_driver()
LOOP=`seq 1 1 8`
LOOP_DELAY=500000
fi
+ elif [ "$1" == "APF6" ]; then
+ SYS_DIR=/sys/class/backlight/backlight_lcd/
+ min_bright=7
+ mid_bright=4
+ max_bright=0 # inverted polarity
+ LOOP=`seq 1 1 8`
+ LOOP_DELAY=500000
else
echo "Platform not supported by this test"
exit 0
@@ -64,7 +71,9 @@ test_backlight()
fi
fi
current=`cat $SYS_DIR/actual_brightness`
- max_bright=`cat $SYS_DIR/max_brightness`
+ if [ "$max_bright" == "" ]; then
+ max_bright=`cat $SYS_DIR/max_brightness`
+ fi
echo "Current brightness level: $current / $max_bright"
echo $mid_bright > $SYS_DIR/brightness
hooks/post-receive
--
armadeus
|