summaryrefslogtreecommitdiff
authorchicken <chicken>2004-10-05 13:52:10 (UTC)
committer chicken <chicken>2004-10-05 13:52:10 (UTC)
commit6f985725f027dc73fd71adc5cfc5b1d6a8428dc5 (patch) (side-by-side diff)
tree879dee430490f92d86f8e6bb3178fec997eb323e
parent9e6c7c669b22e0f8091882557cd1e7091129d026 (diff)
downloadopie-6f985725f027dc73fd71adc5cfc5b1d6a8428dc5.zip
opie-6f985725f027dc73fd71adc5cfc5b1d6a8428dc5.tar.gz
opie-6f985725f027dc73fd71adc5cfc5b1d6a8428dc5.tar.bz2
whoops, things were just fine`
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_jornada.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice_jornada.cpp b/libopie2/opiecore/device/odevice_jornada.cpp
index 2872c0e..60736a1 100644
--- a/libopie2/opiecore/device/odevice_jornada.cpp
+++ b/libopie2/opiecore/device/odevice_jornada.cpp
@@ -190,19 +190,19 @@ bool Jornada::suspend( )
::gettimeofday ( &tvs, 0 );
::sync(); // flush fs caches
res = ( ::system ( "apm --suspend" ) == 0 );
return res;
}
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 ? "4" : "0" ).arg( on ? "4" : "0" );
+ 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" );
res = ( ::system( (const char*) cmdline ) == 0 );
return res;
}