-rw-r--r-- | libopie/odevice.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index 013f804..21070bf 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp @@ -1103,5 +1103,5 @@ bool Yopy::suspend() } -bool Yopy::setDisplayBrightness(int bright) +bool Yopy::setDisplayBrightness(int /*bright*/) { /* The code here works, but is disabled as the current version runs @@ -1669,5 +1669,4 @@ void Zaurus::init ( ) } - bool flipstate = false; switch ( d-> m_model ) { case Model_Zaurus_SLA300: @@ -2368,5 +2367,5 @@ bool SIMpad::setLedState ( OLed l, OLedState st ) -bool SIMpad::filter ( int /*unicode*/, int keycode, int modifiers, bool isPress, bool autoRepeat ) +bool SIMpad::filter ( int /*unicode*/, int /*keycode*/, int /*modifiers*/, bool /*isPress*/, bool /*autoRepeat*/ ) { //TODO @@ -2429,5 +2428,5 @@ bool SIMpad::suspend ( ) // Must override because SIMpad does NOT have apm bool res = false; - struct timeval tvs, tvn; + struct timeval tvs; ::gettimeofday ( &tvs, 0 ); @@ -2451,5 +2450,4 @@ bool SIMpad::setDisplayStatus ( bool on ) bool res = false; - int fd; QString cmdline = QString().sprintf( "echo %s > /proc/cs3", on ? "0xd41a" : "0xd40a" ); //TODO make better :) @@ -2782,4 +2780,5 @@ void Jornada::initButtons ( ) int Jornada::displayBrightnessResolution ( ) const { + return 255; } |