summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_jornada.cpp5
1 files changed, 5 insertions, 0 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
@@ -157,9 +157,14 @@ void Jornada::initButtons()
}
int Jornada::displayBrightnessResolution() const
{
+ if ( d->m_model == Model_Jornada_56x )
+ return 190;
+ else if (d->m_model == Model_Jornada_720 )
return 255;
+ else
+ return 0;
}
bool Jornada::setDisplayBrightness( int bright )