0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 14:48:03 +03:00

Tidy ups and makefile update

This commit is contained in:
OneOfEleven
2023-09-14 09:56:30 +01:00
parent fe212140dd
commit 54711a5971
53 changed files with 1092 additions and 687 deletions

View File

@ -23,7 +23,7 @@ const uint32_t bx_max_Hz = 130000000; // 1300MHz
const uint32_t LowerLimitFrequencyBandTable[7] =
{
#ifndef RX_ANY_FREQ
#ifndef ENABLE_WIDE_RX
5000000,
#else
1800000,
@ -55,14 +55,14 @@ const uint32_t UpperLimitFrequencyBandTable[7] =
34999990,
39999990,
46999990,
#ifndef RX_ANY_FREQ
#ifndef ENABLE_WIDE_RX
60000000
#else
130000000
#endif
};
#ifndef DISABLE_NOAA
#ifdef ENABLE_NOAA
const uint32_t NoaaFrequencyTable[10] =
{
16255000,
@ -154,7 +154,7 @@ int FREQUENCY_Check(VFO_Info_t *pInfo)
{
const uint32_t Frequency = pInfo->pTX->Frequency;
#ifndef DISABLE_NOAA
#ifdef ENABLE_NOAA
if (pInfo->CHANNEL_SAVE >= NOAA_CHANNEL_FIRST)
return -1;
#endif