Add debug sleep for USB timeout in cmdhw.c

Added a sleep function for USB timeout debugging.

Signed-off-by: Niel Nielsen <nieldk@gmail.com>
This commit is contained in:
Niel Nielsen authored and GitHub committed 2026-09-03 13:27:06 +02:00
1 parent e05af0eea7
commit 7c6153d42b
1 file changed
+2
+2
View File
@@ -2339,6 +2339,8 @@ static int bwm_ota_once(const uint8_t *fw, size_t fwlen) {
}
sent += n;
print_progress(sent, fwlen, STYLE_MIXED);
///// DEBUG TEST FOR USB timeout
msleep(10);
}
free(buf);
PrintAndLogEx(NORMAL, "");