diff --git a/portable/GCC/AVR_AVRDx/porthardware.h b/portable/GCC/AVR_AVRDx/porthardware.h index 4b0e04be0..34792b966 100644 --- a/portable/GCC/AVR_AVRDx/porthardware.h +++ b/portable/GCC/AVR_AVRDx/porthardware.h @@ -42,11 +42,6 @@ TCB1.INTCTRL = TCB_CAPT_bm; \ TCB1.CTRLA = TCB_ENABLE_bm; \ } - - #define TICK_stop() { \ - TCB1.INTCTRL &= ~TCB_CAPT_bm; \ - TCB1.CTRLA &= ~TCB_ENABLE_bm; \ - } #elif ( configUSE_TIMER_INSTANCE == 2 ) diff --git a/portable/GCC/AVR_Mega0/porthardware.h b/portable/GCC/AVR_Mega0/porthardware.h index b0d9002c1..3c699f4f3 100644 --- a/portable/GCC/AVR_Mega0/porthardware.h +++ b/portable/GCC/AVR_Mega0/porthardware.h @@ -43,11 +43,6 @@ TCB1.CTRLA = TCB_ENABLE_bm; \ } - #define TICK_stop() { \ - TCB1.INTCTRL &= ~TCB_CAPT_bm; \ - TCB1.CTRLA &= ~TCB_ENABLE_bm; \ - } - #elif ( configUSE_TIMER_INSTANCE == 2 ) #define TICK_INT_vect TCB2_INT_vect