-rw-r--r-- | libopie2/opiecore/device/odevice_jornada.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libopie2/opiecore/device/odevice_jornada.cpp b/libopie2/opiecore/device/odevice_jornada.cpp index 60736a1..2cab0c8 100644 --- a/libopie2/opiecore/device/odevice_jornada.cpp +++ b/libopie2/opiecore/device/odevice_jornada.cpp @@ -164,3 +164,2 @@ bool Jornada::setDisplayBrightness( int bright ) - int value = 255 - bright; if ( !bright ) @@ -168,3 +167,3 @@ bool Jornada::setDisplayBrightness( int bright ) else - cmdline = QString().sprintf( "echo 0 > /sys/class/backlight/sa1100fb/power; echo %d > /sys/class/backlight/sa1100fb/brightness", value ); + cmdline = QString().sprintf( "echo 0 > /sys/class/backlight/sa1100fb/power; echo %d > /sys/class/backlight/sa1100fb/brightness", bright ); |