cleare version of get_videoflip

This commit is contained in:
fduncanh
2021-08-03 21:26:29 -04:00
parent 9f47a9f5c3
commit dc7dfc81d0

View File

@@ -156,9 +156,8 @@ bool get_lowest_port (char *str, unsigned short *n) {
}
bool get_videoflip (char *str, videoflip_t *videoflip) {
char c = str[0];
if (strlen(str) > 1) return false;
switch (c) {
switch (str[0]) {
case 'L':
*videoflip = LEFT;
break;