From 3f25fb92b1dde002ea0c2a3aedffd3912054c380 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sat, 29 Jan 2005 18:37:14 +0000 Subject: use FB_BLANK_UNBLANK and FB_BLANK_POWERDOWN for the 2.6 interface --- (limited to 'libopie2/opiecore/device/odevice_zaurus.cpp') 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 @@ -459,7 +459,7 @@ bool Zaurus::setDisplayStatus( bool on ) if ( fd ) { char buf[10]; - buf[0] = on ? '1' : '0'; + buf[0] = on ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN; buf[1] = '\0'; res = ( ::write( fd, &buf[0], 2 ) == 0 ); ::close( fd ); -- cgit v0.9.0.2