mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-04 02:34:14 +00:00
set hops to hop_max and set hop_max to 15 when using coverage filter
This commit is contained in:
parent
5ce10c0698
commit
aac890d537
@ -36,11 +36,10 @@ enum RxSource {
|
||||
* too long.
|
||||
**/
|
||||
|
||||
#define HOP_MAX 7
|
||||
#ifdef USERPREFS_USE_COVERAGE_FILTER
|
||||
bool useCoverageFilter = USERPREFS_USE_COVERAGE_FILTER;
|
||||
if (useCoverageFilter)
|
||||
#define HOP_MAX 15
|
||||
#if defined(USERPREFS_USE_COVERAGE_FILTER) && USERPREFS_USE_COVERAGE_FILTER
|
||||
#define HOP_MAX 15
|
||||
#else
|
||||
#define HOP_MAX 7
|
||||
#endif
|
||||
|
||||
/// We normally just use max 3 hops for sending reliable messages
|
||||
|
Loading…
Reference in New Issue
Block a user