remove manual fastblank
[enigma2.git] / lib / driver / avswitch.cpp
index 5038ee5384ca8a932a45f269b2d2b7fd57b0c90d..9ebdf253b49ef0bbc9c6a61f3c177d1b2cfc1f75 100644 (file)
@@ -47,6 +47,21 @@ void eAVSwitch::setInput(int val)
        close(fd);
 }
 
+void eAVSwitch::setFastBlank(int val)
+{
+       int fd;
+       char *fb[] = {"low", "high", "vcr"};
+
+       
+       if((fd = open("/proc/stb/avs/0/fb", O_WRONLY)) < 0) {
+               printf("cannot open /proc/stb/avs/0/fb\n");
+               return;
+       }
+
+       write(fd, fb[val], strlen(fb[0]));
+       close(fd);
+}
+
 void eAVSwitch::setColorFormat(int format)
 {
        /*