X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/3d28d53c3e2ae529933283e63a8b05f2ab1ce2be..a5e79333e5769f92558bf20458c165e2582a0cb6:/Projects/AVRISP-MKII/Lib/V2Protocol.c?ds=inline diff --git a/Projects/AVRISP-MKII/Lib/V2Protocol.c b/Projects/AVRISP-MKII/Lib/V2Protocol.c index 63b7294c0..035c8a5b3 100644 --- a/Projects/AVRISP-MKII/Lib/V2Protocol.c +++ b/Projects/AVRISP-MKII/Lib/V2Protocol.c @@ -43,6 +43,12 @@ uint32_t CurrentAddress; bool MustSetAddress; +ISR(TIMER0_COMPA_vect, ISR_NOBLOCK) +{ + if (TimeoutMSRemaining) + TimeoutMSRemaining--; +} + /** Initializes the hardware and software associated with the V2 protocol command handling. */ void V2Protocol_Init(void) {