avrdude: Reduce retries to make timeout time more reasonable

This commit is contained in:
Vojtech Kral
2018-05-22 12:54:46 +02:00
committed by bubnikv
parent 478488972c
commit 1602ddd56c
2 changed files with 7 additions and 12 deletions

View File

@@ -737,7 +737,7 @@ extern bool cancel_flag;
#define RETURN_IF_CANCEL() \
do { \
if (cancel_flag) { \
avrdude_message(MSG_INFO, "%s(): Cancelled, exiting...\n", __func__); \
avrdude_message(MSG_INFO, "avrdude: %s(): Cancelled, exiting...\n", __func__); \
return -99; \
} \
} while (0)