mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Optimize RAM usage by making lookup tables const
This commit is contained in:
1 parent
c9da65117f
commit
12dfa8a87f
7 files changed
+7
-7
No files matched your search
+2
-2
@@ -73,7 +73,7 @@ static uint16_t blacklistFreqs[15];
|
||||
static uint8_t blacklistFreqsIdx;
|
||||
#endif
|
||||
|
||||
const char *bwOptions[] = {"25", "12.5", "6.25"};
|
||||
const char *const bwOptions[] = {"25", "12.5", "6.25"};
|
||||
const uint8_t modulationTypeTuneSteps[] = {100, 50, 10};
|
||||
const uint8_t modTypeReg47Values[] = {1, 7, 5};
|
||||
|
||||
@@ -176,7 +176,7 @@ char freqInputString[11];
|
||||
uint8_t menuState = 0;
|
||||
uint16_t listenT = 0;
|
||||
|
||||
RegisterSpec registerSpecs[] = {
|
||||
const RegisterSpec registerSpecs[] = {
|
||||
{},
|
||||
{"LNAs", BK4819_REG_13, 8, 0b11, 1},
|
||||
{"LNA", BK4819_REG_13, 5, 0b111, 1},
|
||||
|
||||
Reference in new issue
Block a user