-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 | |||
@@ -117,7 +117,6 @@ void SIMpad::init(const QString&) | |||
117 | d->m_vendorstr = "SIEMENS"; | 117 | d->m_vendorstr = "SIEMENS"; |
118 | d->m_vendor = Vendor_SIEMENS; | 118 | d->m_vendor = Vendor_SIEMENS; |
119 | 119 | ||
120 | QFile f ( "/proc/hal/model" ); | ||
121 | 120 | ||
122 | //TODO Implement model checking | 121 | //TODO Implement model checking |
123 | //FIXME For now we assume an SL4 | 122 | //FIXME For now we assume an SL4 |
@@ -135,7 +134,6 @@ void SIMpad::init(const QString&) | |||
135 | } | 134 | } |
136 | 135 | ||
137 | //Distribution detecting code is now in base class | 136 | //Distribution detecting code is now in base class |
138 | |||
139 | m_leds [0] = m_leds [1] = Led_Off; | 137 | m_leds [0] = m_leds [1] = Led_Off; |
140 | 138 | ||
141 | m_power_timer = 0; | 139 | 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 | |||
@@ -66,7 +66,7 @@ class SIMpad : public ODevice, public QWSServer::KeyboardFilter | |||
66 | 66 | ||
67 | int m_power_timer; | 67 | int m_power_timer; |
68 | 68 | ||
69 | OLedState m_leds [1]; | 69 | OLedState m_leds [2]; |
70 | }; | 70 | }; |
71 | 71 | ||
72 | struct s_button { | 72 | struct s_button { |