From 2e1c8dc366ea7ebae1daf7184bb316125aa74105 Mon Sep 17 00:00:00 2001 From: janek Date: Tue, 3 Dec 2024 09:52:41 +0100 Subject: [PATCH] cleanup --- radio/src/functions.cpp | 2 +- radio/src/myeeprom.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/radio/src/functions.cpp b/radio/src/functions.cpp index e6dfebc3f1..875c550680 100644 --- a/radio/src/functions.cpp +++ b/radio/src/functions.cpp @@ -175,7 +175,7 @@ void evalFunctions(const CustomFunctionData * functions, CustomFunctionsContext active &= (bool)CFN_ACTIVE(cfn); } - if (active || IS_PLAY_BOTH_FUNC(CFN_FUNC(cfn))) { + if (active) { switch (CFN_FUNC(cfn)) { diff --git a/radio/src/myeeprom.h b/radio/src/myeeprom.h index e833614ca5..241371223d 100644 --- a/radio/src/myeeprom.h +++ b/radio/src/myeeprom.h @@ -59,9 +59,6 @@ #define IS_PLAY_FUNC(func) ((func) == FUNC_PLAY_SOUND) #endif -#define IS_PLAY_BOTH_FUNC(func) (0) -#define IS_VOLUME_FUNC(func) ((func) == FUNC_VOLUME) - #if defined(GVARS) #define IS_ADJUST_GV_FUNC(func) ((func) == FUNC_ADJUST_GVAR) #else