remove manual fastblank
[enigma2.git] / lib / driver / avswitch.cpp
index 40db19ae03bc52b3eb4a6b04145c6dacd5eef748..9ebdf253b49ef0bbc9c6a61f3c177d1b2cfc1f75 100644 (file)
@@ -45,7 +45,11 @@ void eAVSwitch::setInput(int val)
 
        write(fd, input[val], strlen(input[val]));
        close(fd);
-       
+}
+
+void eAVSwitch::setFastBlank(int val)
+{
+       int fd;
        char *fb[] = {"low", "high", "vcr"};
 
        
@@ -54,7 +58,7 @@ void eAVSwitch::setInput(int val)
                return;
        }
 
-       write(fd, input[val], strlen(fb[0]));
+       write(fd, fb[val], strlen(fb[0]));
        close(fd);
 }