X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/c505ba047f8e32bed210b46c65cf465d01a35b77..ef4cff29c3cea77d545869ad71bdd043e5475482:/Projects/TempDataLogger/TempDataLogger.c?ds=inline diff --git a/Projects/TempDataLogger/TempDataLogger.c b/Projects/TempDataLogger/TempDataLogger.c index e0a089334..23f78aa37 100644 --- a/Projects/TempDataLogger/TempDataLogger.c +++ b/Projects/TempDataLogger/TempDataLogger.c @@ -102,7 +102,7 @@ ISR(TIMER1_COMPA_vect, ISR_BLOCK) uint8_t LEDMask = LEDs_GetLEDs(); /* Check to see if the logging interval has expired */ - if (CurrentLoggingTicks++ < LoggingInterval500MS_SRAM) + if (++CurrentLoggingTicks < LoggingInterval500MS_SRAM) return; /* Reset log tick counter to prepare for next logging interval */