Notify user when programming in quiet mode.

If you use the "prog" command in quiet mode, you don't see the messages
telling you what's being written. Instead, the only message you get is
"Erasing...", which leads to some confusion.
This commit is contained in:
Daniel Beer 2010-10-20 14:22:57 +13:00
parent 9956ecadb5
commit 43e35f5e14
1 changed files with 1 additions and 0 deletions

1
prog.c
View File

@ -38,6 +38,7 @@ int prog_flush(struct prog_data *prog)
DEVICE_ERASE_MAIN, 0) < 0) DEVICE_ERASE_MAIN, 0) < 0)
return -1; return -1;
printc("Programming...\n");
prog->have_erased = 1; prog->have_erased = 1;
} }