author | chicken <chicken> | 2004-10-05 13:52:10 (UTC) |
---|---|---|
committer | chicken <chicken> | 2004-10-05 13:52:10 (UTC) |
commit | 6f985725f027dc73fd71adc5cfc5b1d6a8428dc5 (patch) (unidiff) | |
tree | 879dee430490f92d86f8e6bb3178fec997eb323e | |
parent | 9e6c7c669b22e0f8091882557cd1e7091129d026 (diff) | |
download | opie-6f985725f027dc73fd71adc5cfc5b1d6a8428dc5.zip opie-6f985725f027dc73fd71adc5cfc5b1d6a8428dc5.tar.gz opie-6f985725f027dc73fd71adc5cfc5b1d6a8428dc5.tar.bz2 |
whoops, things were just fine`
-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 2872c0e..60736a1 100644 --- a/libopie2/opiecore/device/odevice_jornada.cpp +++ b/libopie2/opiecore/device/odevice_jornada.cpp | |||
@@ -190,19 +190,19 @@ bool Jornada::suspend( ) | |||
190 | ::gettimeofday ( &tvs, 0 ); | 190 | ::gettimeofday ( &tvs, 0 ); |
191 | 191 | ||
192 | ::sync(); // flush fs caches | 192 | ::sync(); // flush fs caches |
193 | res = ( ::system ( "apm --suspend" ) == 0 ); | 193 | res = ( ::system ( "apm --suspend" ) == 0 ); |
194 | 194 | ||
195 | return res; | 195 | return res; |
196 | } | 196 | } |
197 | 197 | ||
198 | bool Jornada::setDisplayStatus ( bool on ) | 198 | bool Jornada::setDisplayStatus ( bool on ) |
199 | { | 199 | { |
200 | bool res = false; | 200 | bool res = false; |
201 | 201 | ||
202 | 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" ); | 202 | 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" ); |
203 | 203 | ||
204 | res = ( ::system( (const char*) cmdline ) == 0 ); | 204 | res = ( ::system( (const char*) cmdline ) == 0 ); |
205 | 205 | ||
206 | return res; | 206 | return res; |
207 | } | 207 | } |
208 | 208 | ||