summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/device
authormickeyl <mickeyl>2005-01-29 18:37:14 (UTC)
committer mickeyl <mickeyl>2005-01-29 18:37:14 (UTC)
commit3f25fb92b1dde002ea0c2a3aedffd3912054c380 (patch) (unidiff)
treebb3b92f37236e516952c44fc31c16815505dd8f4 /libopie2/opiecore/device
parente6c61408933a3473f25f89d9ba58aceb0b2a2bee (diff)
downloadopie-3f25fb92b1dde002ea0c2a3aedffd3912054c380.zip
opie-3f25fb92b1dde002ea0c2a3aedffd3912054c380.tar.gz
opie-3f25fb92b1dde002ea0c2a3aedffd3912054c380.tar.bz2
use FB_BLANK_UNBLANK and FB_BLANK_POWERDOWN for the 2.6 interface
Diffstat (limited to 'libopie2/opiecore/device') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/device/odevice_zaurus.cpp2
-rw-r--r--libopie2/opiecore/device/odevice_zaurus.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/libopie2/opiecore/device/odevice_zaurus.cpp b/libopie2/opiecore/device/odevice_zaurus.cpp
index 2128d46..59f1592 100644
--- a/libopie2/opiecore/device/odevice_zaurus.cpp
+++ b/libopie2/opiecore/device/odevice_zaurus.cpp
@@ -461,3 +461,3 @@ bool Zaurus::setDisplayStatus( bool on )
461 char buf[10]; 461 char buf[10];
462 buf[0] = on ? '1' : '0'; 462 buf[0] = on ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN;
463 buf[1] = '\0'; 463 buf[1] = '\0';
diff --git a/libopie2/opiecore/device/odevice_zaurus.h b/libopie2/opiecore/device/odevice_zaurus.h
index 04e73c4..80593ce 100644
--- a/libopie2/opiecore/device/odevice_zaurus.h
+++ b/libopie2/opiecore/device/odevice_zaurus.h
@@ -77,3 +77,3 @@
77 77
78// Brightness 78// Brightness Embedix
79#define SHARP_FL_IOCTL_DEVICE "/dev/sharp_fl" 79#define SHARP_FL_IOCTL_DEVICE "/dev/sharp_fl"
@@ -85,2 +85,6 @@
85 85
86// Vesa Standard
87 #define FB_BLANK_UNBLANK 0
88 #define FB_BLANK_POWERDOWN 4
89
86namespace Opie { 90namespace Opie {