From 8d4d07fecd8b7a437eadc9a774ab2241b304f0ee Mon Sep 17 00:00:00 2001 From: Alexandru Niculae - M17336 Date: Wed, 29 Jul 2020 17:32:11 +0300 Subject: [PATCH] Removed TICK_stop() macro from portable/GCC/{AVR_AVRDx, AVR_Mega0}/porthardware.h because it is not used anywhere. --- portable/GCC/AVR_AVRDx/porthardware.h | 5 ----- portable/GCC/AVR_Mega0/porthardware.h | 5 ----- 2 files changed, 10 deletions(-) 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