aboutsummaryrefslogtreecommitdiff
path: root/lib/driver/avswitch.cpp
diff options
context:
space:
mode:
authorRonny Strutz <ronny.strutz@multimedia-labs.de>2005-09-02 21:59:24 +0000
committerRonny Strutz <ronny.strutz@multimedia-labs.de>2005-09-02 21:59:24 +0000
commita92e58b2a8fc37e0a838593676bc5e065c4d28f6 (patch)
tree977d37ad01fccfce2d707c6fceb6feabcc59efc8 /lib/driver/avswitch.cpp
parent7273e47b06dacbd32e145e19728e09d9d86e7a6e (diff)
downloadenigma2-a92e58b2a8fc37e0a838593676bc5e065c4d28f6.tar.gz
enigma2-a92e58b2a8fc37e0a838593676bc5e065c4d28f6.zip
enable color on thedoc's box (depends as usual on mac)
Diffstat (limited to 'lib/driver/avswitch.cpp')
-rw-r--r--lib/driver/avswitch.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/driver/avswitch.cpp b/lib/driver/avswitch.cpp
index 31db25a4..f7b1bbd4 100644
--- a/lib/driver/avswitch.cpp
+++ b/lib/driver/avswitch.cpp
@@ -17,6 +17,10 @@ eAVSwitch::eAVSwitch()
instance = this;
avsfd = open("/dev/dbox/avs0", O_RDWR);
+
+ //enable colors on thedoc's tv
+ ioctl(avsfd, 0x1000 | 35, 2);
+ ioctl(avsfd, 0x1000 | 9, 1);
}
eAVSwitch::~eAVSwitch()