-rw-r--r-- | libopie2/opiecore/device/odevice_jornada.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice_jornada.cpp b/libopie2/opiecore/device/odevice_jornada.cpp index 60736a1..2872c0e 100644 --- a/libopie2/opiecore/device/odevice_jornada.cpp +++ b/libopie2/opiecore/device/odevice_jornada.cpp @@ -196,13 +196,13 @@ bool Jornada::suspend( ) } bool Jornada::setDisplayStatus ( bool on ) { bool res = false; - QString cmdline = QString( "echo %1 > /sys/class/lcd/sa1100fb/power; echo %2 > /sys/class/backlight/sa1100fb/power").arg( on ? "0" : "4" ).arg( on ? "0" : "4" ); + QString cmdline = QString( "echo %1 > /sys/class/lcd/sa1100fb/power; echo %2 > /sys/class/backlight/sa1100fb/power").arg( on ? "4" : "0" ).arg( on ? "4" : "0" ); res = ( ::system( (const char*) cmdline ) == 0 ); return res; } |