Comment all old code
This commit is contained in:
1 parent
6cf03a9e28
commit
f4b0e9b6f3
2 files changed
+16
-16
No files matched your search
+9
-9
@@ -77,17 +77,17 @@ static void process_message(char *msg)
|
||||
} else flash_image(arg, type, NULL, NULL, NULL);
|
||||
} else*/
|
||||
if (!strcmp(str, "reset")) {
|
||||
if (reboot_board() == 0) {
|
||||
squeue_push2(p,"info", "Device reboots", 1);
|
||||
} else squeue_push2(p,"error", "Cannot reboot device", 1);
|
||||
// if (reboot_board() == 0) {
|
||||
// squeue_push2(p,"info", "Device reboots", 1);
|
||||
// } else squeue_push2(p,"error", "Cannot reboot device", 1);
|
||||
} else
|
||||
if (!strcmp(str, "info")) {
|
||||
get_rd_flags();
|
||||
squeue_push2(p, "info", strbuf, 1);
|
||||
get_nolo_version();
|
||||
squeue_push2(p, "info", strbuf, 1);
|
||||
get_usb_mode();
|
||||
squeue_push2(p, "info", strbuf, 1);
|
||||
// get_rd_flags();
|
||||
// squeue_push2(p, "info", strbuf, 1);
|
||||
// get_nolo_version();
|
||||
// squeue_push2(p, "info", strbuf, 1);
|
||||
// get_usb_mode();
|
||||
// squeue_push2(p, "info", strbuf, 1);
|
||||
} else
|
||||
squeue_push2(p, "error", "invalid command", 0);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user