Commit 74f55464 authored by Benoit Rat's avatar Benoit Rat

Force dataflash erasing

parent 377ba6ce
......@@ -435,7 +435,8 @@ main(int argc, char *argv[])
fprintf(stderr,"Initializing DataFlash...\n\n");
dataflash_init(board_rev);
// dataflash_erase_all();
fprintf(stderr,"Erasing DataFlash...\n\n");
dataflash_erase_all();
fprintf(stderr,"Programming DataFlash...\n");
dataflash_program(argv[1]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment