author | zecke <zecke> | 2005-11-02 20:08:42 (UTC) |
---|---|---|
committer | zecke <zecke> | 2005-11-02 20:08:42 (UTC) |
commit | 562ff5c89ae1da92172a086afc8c3ffb7eec23bd (patch) (unidiff) | |
tree | 1b95768a3215b4f74b6a2723cd4fa093fcd46d17 /libopie2/opiecore/device/odevice_ipaq.cpp | |
parent | 1c35276ae800e8adfcca2ddb010a0fe8080754bd (diff) | |
download | opie-562ff5c89ae1da92172a086afc8c3ffb7eec23bd.zip opie-562ff5c89ae1da92172a086afc8c3ffb7eec23bd.tar.gz opie-562ff5c89ae1da92172a086afc8c3ffb7eec23bd.tar.bz2 |
ODevice iPAQ h191x and MyPal Asus:
Patch by Pawel Kolodziejski to change the maximum brightnes
for H191x and Asus MyPAL.
Diffstat (limited to 'libopie2/opiecore/device/odevice_ipaq.cpp') (more/less context) (ignore whitespace changes)
-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 2d734a4..5272a3c 100644 --- a/libopie2/opiecore/device/odevice_ipaq.cpp +++ b/libopie2/opiecore/device/odevice_ipaq.cpp | |||
@@ -396,25 +396,25 @@ int iPAQ::displayBrightnessResolution() const | |||
396 | switch ( model()) { | 396 | switch ( model()) { |
397 | case Model_iPAQ_H31xx: | 397 | case Model_iPAQ_H31xx: |
398 | case Model_iPAQ_H36xx: | 398 | case Model_iPAQ_H36xx: |
399 | case Model_iPAQ_H37xx: | 399 | case Model_iPAQ_H37xx: |
400 | return 128; // really 256, but >128 could damage the LCD | 400 | return 128; // really 256, but >128 could damage the LCD |
401 | 401 | ||
402 | case Model_iPAQ_H38xx: | 402 | case Model_iPAQ_H38xx: |
403 | case Model_iPAQ_H39xx: | 403 | case Model_iPAQ_H39xx: |
404 | return 64; | 404 | return 64; |
405 | case Model_iPAQ_H5xxx: | 405 | case Model_iPAQ_H5xxx: |
406 | return 255; | 406 | return 255; |
407 | case Model_iPAQ_H191x: | 407 | case Model_iPAQ_H191x: |
408 | return 183; | 408 | return 7; |
409 | case Model_iPAQ_H1940: | 409 | case Model_iPAQ_H1940: |
410 | return 44; | 410 | return 44; |
411 | default: | 411 | default: |
412 | return 2; | 412 | return 2; |
413 | } | 413 | } |
414 | } | 414 | } |
415 | 415 | ||
416 | bool iPAQ::setDisplayStatus ( bool on ) | 416 | bool iPAQ::setDisplayStatus ( bool on ) |
417 | { | 417 | { |
418 | bool res = false; | 418 | bool res = false; |
419 | 419 | ||
420 | QString cmdline; | 420 | QString cmdline; |