Browse Source

Allow configuration commands to work in test mode.

Georgi Chorbadzhiyski 9 years ago
parent
commit
ce38b9baac
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      videohubctrl.c

+ 2
- 0
videohubctrl.c View File

@@ -243,6 +243,8 @@ static int read_device_command_stream(struct videohub_data *d) {
243 243
 static void send_device_command(struct videohub_data *d, char *cmd_buffer) {
244 244
 	if (!test_data)
245 245
 		fdwrite(d->dev_fd, cmd_buffer, strlen(cmd_buffer));
246
+	else
247
+		parse_text_buffer(d, cmd_buffer);
246 248
 }
247 249
 
248 250
 int main(int argc, char **argv) {

Loading…
Cancel
Save