-rw-r--r-- | libopie2/opiecore/device/odevice_ipaq.cpp | 2 | ||||
-rw-r--r-- | libopie2/opiecore/device/odevice_mypal.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libopie2/opiecore/device/odevice_ipaq.cpp b/libopie2/opiecore/device/odevice_ipaq.cpp index 2d734a4..5272a3c 100644 --- a/libopie2/opiecore/device/odevice_ipaq.cpp +++ b/libopie2/opiecore/device/odevice_ipaq.cpp @@ -405,7 +405,7 @@ int iPAQ::displayBrightnessResolution() const case Model_iPAQ_H5xxx: return 255; case Model_iPAQ_H191x: - return 183; + return 7; case Model_iPAQ_H1940: return 44; default: diff --git a/libopie2/opiecore/device/odevice_mypal.cpp b/libopie2/opiecore/device/odevice_mypal.cpp index 45c70ae..da0272e 100644 --- a/libopie2/opiecore/device/odevice_mypal.cpp +++ b/libopie2/opiecore/device/odevice_mypal.cpp @@ -201,8 +201,8 @@ bool MyPal::setDisplayBrightness ( int bright ) { bool res = false; - if ( bright > 220 ) - bright = 220; + if ( bright > 255 ) + bright = 255; if ( bright < 0 ) bright = 0; @@ -228,7 +228,7 @@ int MyPal::displayBrightnessResolution() const { switch ( model()) { case Model_MyPal_716: - return 220; + return 7; default: return OAbstractMobileDevice::displayBrightnessResolution(); } |