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:
1 parent
e05af0eea7
commit
7c6153d42b
1 file changed
+2
@@ -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, "");
|
||||
|
||||
Reference in new issue
Block a user