mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-20 06:58:39 +03:00
Live DTMF decoder option + possibly fixed AM demodulation
This commit is contained in:
10
misc.h
10
misc.h
@ -27,6 +27,10 @@
|
||||
#define IS_NOAA_CHANNEL(x) ((x) >= NOAA_CHANNEL_FIRST && (x) <= NOAA_CHANNEL_LAST)
|
||||
#define IS_NOT_NOAA_CHANNEL(x) ((x) >= MR_CHANNEL_FIRST && (x) <= FREQ_CHANNEL_LAST)
|
||||
|
||||
#ifndef ARRAY_SIZE
|
||||
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
|
||||
#endif
|
||||
|
||||
enum {
|
||||
MR_CHANNEL_FIRST = 0,
|
||||
MR_CHANNEL_LAST = 199u,
|
||||
@ -74,6 +78,10 @@ enum CssScanMode_t
|
||||
|
||||
typedef enum CssScanMode_t CssScanMode_t;
|
||||
|
||||
extern const uint8_t menu_timeout_500ms;
|
||||
|
||||
extern const uint8_t DTMF_RX_timeout_500ms;
|
||||
|
||||
extern const uint8_t key_input_timeout_500ms;
|
||||
|
||||
extern const uint16_t key_repeat_delay_10ms;
|
||||
@ -82,8 +90,6 @@ extern const uint16_t key_debounce_10ms;
|
||||
|
||||
extern const uint8_t scan_delay_10ms;
|
||||
|
||||
extern const uint8_t menu_timeout_10ms;
|
||||
|
||||
extern const uint16_t battery_save_count_10ms;
|
||||
|
||||
extern const uint16_t dual_watch_count_after_tx_10ms;
|
||||
|
Reference in New Issue
Block a user