author | mickeyl <mickeyl> | 2003-05-19 21:22:16 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-05-19 21:22:16 (UTC) |
commit | 71b023064e90282346055f0fea37d9a0d84bfa1b (patch) (unidiff) | |
tree | ad82d6360ff7ef04aed5309e59e80729fcadd2a7 /libopie | |
parent | e1435cdf8522e2a932533390b72f39edfe39a24c (diff) | |
download | opie-71b023064e90282346055f0fea37d9a0d84bfa1b.zip opie-71b023064e90282346055f0fea37d9a0d84bfa1b.tar.gz opie-71b023064e90282346055f0fea37d9a0d84bfa1b.tar.bz2 |
SIMpad specific fix
-rw-r--r-- | libopie/odevice.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp index 921a94e..103104f 100644 --- a/libopie/odevice.cpp +++ b/libopie/odevice.cpp | |||
@@ -301,3 +301,3 @@ ODevice *ODevice::inst ( ) | |||
301 | dev = new Zaurus ( ); | 301 | dev = new Zaurus ( ); |
302 | else if ( QFile::exists ( "/proc/ucb1x00" ) && QFile::exists ( "/proc/CS3" )) | 302 | else if ( QFile::exists ( "/proc/ucb1x00" ) && QFile::exists ( "/proc/cs3" )) |
303 | dev = new SIMpad ( ); | 303 | dev = new SIMpad ( ); |
@@ -1577,3 +1577,3 @@ void SIMpad::initButtons ( ) | |||
1577 | // SIMpad boardcontrol register CS3 | 1577 | // SIMpad boardcontrol register CS3 |
1578 | #define SIMPAD_BOARDCONTROL "/proc/CS3" | 1578 | #define SIMPAD_BOARDCONTROL "/proc/cs3" |
1579 | #define SIMPAD_VCC_5V_EN 0x0001 // For 5V PCMCIA | 1579 | #define SIMPAD_VCC_5V_EN 0x0001 // For 5V PCMCIA |
@@ -1652,5 +1652,5 @@ bool SIMpad::setLedState ( OLed l, OLedState st ) | |||
1652 | /*TODO Implement this like that: | 1652 | /*TODO Implement this like that: |
1653 | read from CS3 | 1653 | read from cs3 |
1654 | && with SIMPAD_LED2_ON | 1654 | && with SIMPAD_LED2_ON |
1655 | write to CS3 */ | 1655 | write to cs3 */ |
1656 | m_leds [0] = st; | 1656 | m_leds [0] = st; |