-rw-r--r-- | libopie2/opiecore/device/odevice_simpad.cpp | 2 | ||||
-rw-r--r-- | libopie2/opiecore/device/odevice_simpad.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/libopie2/opiecore/device/odevice_simpad.cpp b/libopie2/opiecore/device/odevice_simpad.cpp index 6d4624b..76f03a0 100644 --- a/libopie2/opiecore/device/odevice_simpad.cpp +++ b/libopie2/opiecore/device/odevice_simpad.cpp @@ -116,9 +116,8 @@ void SIMpad::init(const QString&) { d->m_vendorstr = "SIEMENS"; d->m_vendor = Vendor_SIEMENS; - QFile f ( "/proc/hal/model" ); //TODO Implement model checking //FIXME For now we assume an SL4 @@ -134,9 +133,8 @@ void SIMpad::init(const QString&) break; } //Distribution detecting code is now in base class - m_leds [0] = m_leds [1] = Led_Off; m_power_timer = 0; diff --git a/libopie2/opiecore/device/odevice_simpad.h b/libopie2/opiecore/device/odevice_simpad.h index 0f4e66f..d9ae5a5 100644 --- a/libopie2/opiecore/device/odevice_simpad.h +++ b/libopie2/opiecore/device/odevice_simpad.h @@ -65,9 +65,9 @@ class SIMpad : public ODevice, public QWSServer::KeyboardFilter virtual void timerEvent( QTimerEvent *te ); int m_power_timer; - OLedState m_leds [1]; + OLedState m_leds [2]; }; struct s_button { uint model; |