add build flag to configure allowed repeat freq range

This commit is contained in:
liamcottle committed 2026-05-08 20:16:45 +12:00
1 parent 62f7c7f1fc
commit f35f5b9b5e
1 file changed
+4
+4
View File
@@ -982,9 +982,13 @@ struct FreqRange {
};
static FreqRange repeat_freq_ranges[] = {
#ifdef ALLOWED_REPEAT_FREQ_RANGE
ALLOWED_REPEAT_FREQ_RANGE
#else
{ 433000, 433000 },
{ 869000, 869000 },
{ 918000, 918000 }
#endif
};
bool MyMesh::isValidClientRepeatFreq(uint32_t f) const {