Update preamble dynamically to match runtime SF changes via CLI

This commit is contained in:
overkillfpv
2026-03-05 22:14:22 +11:00
parent 534a0c97a7
commit a61add2e6a
9 changed files with 12 additions and 2 deletions

View File

@@ -21,6 +21,7 @@ public:
int sf = ((CustomSTM32WLx *)_radio)->spreadingFactor;
return packetScoreInt(snr, sf, packet_len);
}
uint8_t getSpreadingFactor() const override { return ((CustomSTM32WLx *)_radio)->spreadingFactor; }
void doResetAGC() override { sx126xResetAGC((SX126x *)_radio); }
};