Optimize RAM usage by making lookup tables const

This commit is contained in:
Armel FAUVEAU committed 2026-07-30 19:05:16 +02:00
1 parent c9da65117f
commit 12dfa8a87f
7 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -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},