Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjjjjjjj committed Dec 3, 2024
1 parent ef1d6d0 commit 2e1c8dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion radio/src/functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {

Expand Down
3 changes: 0 additions & 3 deletions radio/src/myeeprom.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e1c8dc

Please sign in to comment.