summaryrefslogtreecommitdiffstats
path: root/firmware/bootloaderconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/bootloaderconfig.h')
-rw-r--r--firmware/bootloaderconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/bootloaderconfig.h b/firmware/bootloaderconfig.h
index 3133368..a23ea5a 100644
--- a/firmware/bootloaderconfig.h
+++ b/firmware/bootloaderconfig.h
@@ -237,7 +237,7 @@ these macros are defined, the boot loader uses them.
#else
#define bootLoaderInit()
#define bootLoaderExit()
- #define bootLoaderCondition() (idlePolls < (AUTO_EXIT_MS * 10UL))
+ #define bootLoaderCondition() (++idlePolls < (AUTO_EXIT_MS * 10UL))
#if LOW_POWER_MODE
// only starts bootloader if USB D- is pulled high on startup - by putting your pullup in to an external connector
// you can avoid ever entering an out of spec clock speed or waiting on bootloader when that pullup isn't there