Browse Source

Merge pull request #2505 from liamcottle/feature/companion-repeat-build-flag

Add build flag to configure allowed repeat frequency range
pull/2510/head
Huw Duddy 4 weeks ago
committed by GitHub
parent
commit
6e2e9cc33c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      examples/companion_radio/MyMesh.cpp

4
examples/companion_radio/MyMesh.cpp

@ -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 {

Loading…
Cancel
Save