aboutsummaryrefslogtreecommitdiff
path: root/lib/driver/avswitch.cpp
diff options
context:
space:
mode:
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()