0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 06:58:39 +03:00
This commit is contained in:
OneOfEleven
2023-11-08 11:27:26 +00:00
parent b64e684cf4
commit c958962b44
12 changed files with 196 additions and 123 deletions

View File

@ -39,6 +39,12 @@ typedef struct {
const uint32_t upper;
} freq_band_table_t;
typedef struct {
const uint32_t lower;
const uint32_t upper;
const uint16_t step_size;
} __attribute__((packed)) freq_scan_range_table_t;
extern uint32_t g_aircopy_freq;
extern const freq_band_table_t AIR_BAND;
@ -96,6 +102,10 @@ uint32_t FREQUENCY_wrap_to_step_band(uint32_t freq, const uint32_t step_
int FREQUENCY_tx_freq_check(const uint32_t Frequency);
int FREQUENCY_rx_freq_check(const uint32_t Frequency);
#ifdef ENABLE_SCAN_RANGES
void FREQUENCY_scan_range(const uint32_t freq, uint32_t *lower, uint32_t *upper, uint32_t *step_size);
#endif
// ***********
#endif