summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevice.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp
index 80e9a91..58bd663 100644
--- a/libopie/odevice.cpp
+++ b/libopie/odevice.cpp
@@ -582,5 +582,3 @@ void iPAQ::alarmSound ( )
582 582
583 if ((( fd = ::open ( "/dev/sound/mixer", O_RDWR )) >= 0 ) || 583 if (( fd = ::open ( "/dev/sound/mixer", O_RDWR )) >= 0 ) {
584 (( fd = ::open ( "/dev/mixer", O_RDWR )) >= 0 )) {
585
586 if ( ::ioctl ( fd, MIXER_READ( 0 ), &vol ) >= 0 ) { 584 if ( ::ioctl ( fd, MIXER_READ( 0 ), &vol ) >= 0 ) {
@@ -653,4 +651,3 @@ bool iPAQ::setDisplayBrightness ( int bright )
653 651
654 if ((( fd = ::open ( "/dev/ts", O_WRONLY )) >= 0 ) || 652 if (( fd = ::open ( "/dev/touchscreen/0", O_WRONLY )) >= 0 ) {
655 (( fd = ::open ( "/dev/h3600_ts", O_WRONLY )) >= 0 )) {
656 FLITE_IN bl; 653 FLITE_IN bl;