Use function table. Simplify logic
Size: 60364 -> 60220
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user