Index: firmware/App/Tasks/TaskGeneral.c =================================================================== diff -u -rc672f41061bcd500d6593655641cb27ce3ae58fc -rac05209d7b6c65b22359754eced5ad2672d3092a --- firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision c672f41061bcd500d6593655641cb27ce3ae58fc) +++ firmware/App/Tasks/TaskGeneral.c (.../TaskGeneral.c) (revision ac05209d7b6c65b22359754eced5ad2672d3092a) @@ -29,12 +29,6 @@ #include "TaskGeneral.h" #include "RTC.h" -#ifdef RM46_EVAL_BOARD_TARGET - #include "CPLD.h" - #include "SystemCommMessages.h" - static BOOL lastUserPress = FALSE; -#endif - /** * @addtogroup TaskGeneral * @{ @@ -93,22 +87,6 @@ // manage alarm state execAlarmMgmt(); -#ifdef RM46_EVAL_BOARD_TARGET - if ( getUserButtonState() == PIN_SIGNAL_LOW ) - { - if ( lastUserPress == FALSE ) - { - lastUserPress = TRUE; - setUserLED( FALSE ); - sendOffButtonMsgToUI(TRUE); - } - } - else - { - lastUserPress = FALSE; - } -#endif - // manage data to be transmitted to other sub-systems execSystemCommTx(); }