X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/7dffa15c1670806cc053b9930f341b53e30f7384..3b898ae17823033c25c672d0b0001c4f1610fcd0:/Projects/TempDataLogger/TempDataLogger.c 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 */