add build flag to configure allowed repeat freq range

This commit is contained in:
liamcottle
2026-05-08 20:16:45 +12:00
parent 0800f8d677
commit 841db56595
+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 {