author | zecke <zecke> | 2005-10-07 18:21:10 (UTC) |
---|---|---|
committer | zecke <zecke> | 2005-10-07 18:21:10 (UTC) |
commit | d5beae7038e36633480cc3e17134a85b6d68fbc7 (patch) (side-by-side diff) | |
tree | 632f5ae52296438e1ff6b4a6c669395da912a3bb | |
parent | 0bad2116a1ceed19956b94889cb034781f35146d (diff) | |
download | opie-d5beae7038e36633480cc3e17134a85b6d68fbc7.zip opie-d5beae7038e36633480cc3e17134a85b6d68fbc7.tar.gz opie-d5beae7038e36633480cc3e17134a85b6d68fbc7.tar.bz2 |
libopie2/opiecore/device/odevice_ipaq.cpp:
-make it compile. This line should have been H1940 in the
patch. Now I even compiled libopiecore before comitting ;)
-rw-r--r-- | libopie2/opiecore/device/odevice_ipaq.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice_ipaq.cpp b/libopie2/opiecore/device/odevice_ipaq.cpp index 52da2d9..2d734a4 100644 --- a/libopie2/opiecore/device/odevice_ipaq.cpp +++ b/libopie2/opiecore/device/odevice_ipaq.cpp @@ -393,33 +393,33 @@ bool iPAQ::setDisplayBrightness ( int bright ) int iPAQ::displayBrightnessResolution() const { switch ( model()) { case Model_iPAQ_H31xx: case Model_iPAQ_H36xx: case Model_iPAQ_H37xx: return 128; // really 256, but >128 could damage the LCD case Model_iPAQ_H38xx: case Model_iPAQ_H39xx: return 64; case Model_iPAQ_H5xxx: return 255; case Model_iPAQ_H191x: return 183; - case Model_iPAQ_H191x: + case Model_iPAQ_H1940: return 44; default: return 2; } } bool iPAQ::setDisplayStatus ( bool on ) { bool res = false; QString cmdline; if ( model() == Model_iPAQ_H191x ) { cmdline = QString::fromLatin1( "echo %1 > /sys/class/lcd/pxafb/power; echo %2 > /sys/class/backlight/pxafb/power").arg( on ? "0" : "4" ).arg( on ? "0" : "4" ); } else { return OAbstractMobileDevice::setDisplayStatus(on); |