Browse Source

add build flag to configure allowed repeat freq range

pull/2505/head
liamcottle 4 weeks ago
parent
commit
841db56595
  1. 4
      examples/companion_radio/MyMesh.cpp

4
examples/companion_radio/MyMesh.cpp

@ -982,9 +982,13 @@ struct FreqRange {
}; };
static FreqRange repeat_freq_ranges[] = { static FreqRange repeat_freq_ranges[] = {
#ifdef ALLOWED_REPEAT_FREQ_RANGE
ALLOWED_REPEAT_FREQ_RANGE
#else
{ 433000, 433000 }, { 433000, 433000 },
{ 869000, 869000 }, { 869000, 869000 },
{ 918000, 918000 } { 918000, 918000 }
#endif
}; };
bool MyMesh::isValidClientRepeatFreq(uint32_t f) const { bool MyMesh::isValidClientRepeatFreq(uint32_t f) const {

Loading…
Cancel
Save