Use function table. Simplify logic

Size: 60364 -> 60220
This commit is contained in:
Juan Antonio
2023-12-25 01:11:43 +01:00
committed by egzumer
parent 7a7010da55
commit cbf4a7c140
4 changed files with 30 additions and 47 deletions

View File

@@ -27,7 +27,8 @@ enum FUNCTION_Type_t
FUNCTION_INCOMING, // receiving a signal (squelch is open)
FUNCTION_RECEIVE, // RX mode, squelch closed
FUNCTION_POWER_SAVE, // sleeping
FUNCTION_BAND_SCOPE // bandscope mode (panadpter/spectrum) .. not yet implemented
FUNCTION_BAND_SCOPE, // bandscope mode (panadpter/spectrum) .. not yet implemented
FUNCTION_N_ELEM
};
typedef enum FUNCTION_Type_t FUNCTION_Type_t;