Skip to content

Commit 841db56

Browse files
committed
add build flag to configure allowed repeat freq range
1 parent 0800f8d commit 841db56

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

examples/companion_radio/MyMesh.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -982,9 +982,13 @@ struct FreqRange {
982982
};
983983

984984
static FreqRange repeat_freq_ranges[] = {
985+
#ifdef ALLOWED_REPEAT_FREQ_RANGE
986+
ALLOWED_REPEAT_FREQ_RANGE
987+
#else
985988
{ 433000, 433000 },
986989
{ 869000, 869000 },
987990
{ 918000, 918000 }
991+
#endif
988992
};
989993

990994
bool MyMesh::isValidClientRepeatFreq(uint32_t f) const {

0 commit comments

Comments
 (0)