Hide conn error when hw reset, as suggested by @iceman

This commit is contained in:
Philippe Teuwen 2019-05-08 11:14:29 +02:00
commit c190ac0955
3 changed files with 4 additions and 2 deletions

View file

@ -444,7 +444,6 @@ void flash_free(flash_file_t *ctx) {
// just reset the unit
int flash_stop_flashing(void) {
PrintAndLogEx(SUCCESS, _BLUE_("Resetting hardware...") "Subsequent communication error is " _BLUE_("normal"));
SendCommandOLD(CMD_HARDWARE_RESET, 0, 0, 0, NULL, 0);
msleep(100);
return 0;