git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
enable color on thedoc's box (depends as usual on mac)
[enigma2.git]
/
lib
/
driver
/
avswitch.cpp
diff --git
a/lib/driver/avswitch.cpp
b/lib/driver/avswitch.cpp
index 31db25a47dc573c93989b7f9e52cf8a6d8ac09b7..f7b1bbd4e7afe37e4248c43e3184937ad65f427f 100644
(file)
--- 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);
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()
}
eAVSwitch::~eAVSwitch()