-rw-r--r-- | libopie2/opiecore/device/odevice_jornada.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libopie2/opiecore/device/odevice_jornada.cpp b/libopie2/opiecore/device/odevice_jornada.cpp index bcde425..3acba03 100644 --- a/libopie2/opiecore/device/odevice_jornada.cpp +++ b/libopie2/opiecore/device/odevice_jornada.cpp | |||
@@ -155,13 +155,18 @@ void Jornada::initButtons() | |||
155 | } | 155 | } |
156 | reloadButtonMapping(); | 156 | reloadButtonMapping(); |
157 | } | 157 | } |
158 | 158 | ||
159 | int Jornada::displayBrightnessResolution() const | 159 | int Jornada::displayBrightnessResolution() const |
160 | { | 160 | { |
161 | return 255; | 161 | if ( d->m_model == Model_Jornada_56x ) |
162 | return 190; | ||
163 | else if (d->m_model == Model_Jornada_720 ) | ||
164 | return 255; | ||
165 | else | ||
166 | return 0; | ||
162 | } | 167 | } |
163 | 168 | ||
164 | 169 | ||
165 | bool Jornada::setDisplayBrightness( int bright ) | 170 | bool Jornada::setDisplayBrightness( int bright ) |
166 | { | 171 | { |
167 | bool res = false; | 172 | bool res = false; |