X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e809534d8af6a2f742dbc6d1341c7df804a42234..547e6b6655c861f30c61bab5178639d4a9c57e7e:/lib/driver/avswitch.cpp diff --git a/lib/driver/avswitch.cpp b/lib/driver/avswitch.cpp index 9d2ae007..c018b43b 100644 --- a/lib/driver/avswitch.cpp +++ b/lib/driver/avswitch.cpp @@ -95,7 +95,7 @@ void eAVSwitch::setVideomode(int mode) char *ntsc="ntsc"; int fd; - return 0; + return; //FIXME: bug in driver (cannot set PAL) if((fd = open("/proc/stb/video/videomode", O_WRONLY)) < 0) { printf("cannot open /proc/stb/video/videomode\n"); @@ -105,7 +105,7 @@ void eAVSwitch::setVideomode(int mode) case 0: write(fd, pal, strlen(pal)); break; - case 3: + case 1: write(fd, ntsc, strlen(ntsc)); break; }