diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2012-08-09 20:38:47 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2012-08-09 20:38:47 +0200 |
commit | 29084d4acf2f45678209d9876e2931c888c5ab95 (patch) | |
tree | 6b11a8f4aedfa54a222850acb34aa9cf132ada5c /src/qmode.c | |
parent | 0d7694160012f2cdcec96932a6bdff6e75f25ad4 (diff) | |
download | 0xFFFF-29084d4acf2f45678209d9876e2931c888c5ab95.tar.bz2 |
flash: Rewrite flash_image code to use struct * image
Diffstat (limited to 'src/qmode.c')
-rw-r--r-- | src/qmode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmode.c b/src/qmode.c index 64ee94a..c725995 100644 --- a/src/qmode.c +++ b/src/qmode.c @@ -52,12 +52,12 @@ void process_message(char *msg) if (c!=0) { arg[0]='\0'; arg = arg +1; - if (!strcmp(str, "flash")) { +/* if (!strcmp(str, "flash")) { const char *type = fpid_file(arg); if (type == NULL) { squeue_push2(p, "error", "Unknown piece format", 1); } else flash_image(arg, type, NULL, NULL, NULL); - } else + } else*/ if (!strcmp(str, "reset")) { if (reboot_board() == 0) { squeue_push2(p,"info", "Device reboots", 1); |