Browse Source

Fix sending of multiple commands.

After sending command to videohub the response must read before
another commands is sent.
Georgi Chorbadzhiyski 9 years ago
parent
commit
094d38a933
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      videohubctrl.c

+ 1
- 0
videohubctrl.c View File

@@ -262,6 +262,7 @@ int main(int argc, char **argv) {
262 262
 			if (strlen(cmd_buffer)) {
263 263
 				show_cmd(data, ve);
264 264
 				fdwrite(data->dev_fd, cmd_buffer, strlen(cmd_buffer));
265
+				read_device_command_stream(data);
265 266
 			}
266 267
 		}
267 268
 	} else if (show_monitor) {

Loading…
Cancel
Save