mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-08 04:28:47 +00:00
debug hop limit
This commit is contained in:
parent
807dc327d6
commit
163f1de6aa
@ -493,10 +493,12 @@ void NodeDB::installDefaultConfig(bool preserveKey = false)
|
|||||||
#else
|
#else
|
||||||
config.lora.modem_preset = meshtastic_Config_LoRaConfig_ModemPreset_LONG_FAST;
|
config.lora.modem_preset = meshtastic_Config_LoRaConfig_ModemPreset_LONG_FAST;
|
||||||
#endif
|
#endif
|
||||||
config.lora.hop_limit = HOP_RELIABLE;
|
|
||||||
#ifdef USERPREFS_USE_COVERAGE_FILTER
|
#ifdef USERPREFS_USE_COVERAGE_FILTER
|
||||||
config.lora.hop_limit = HOP_MAX;
|
config.lora.hop_limit = HOP_MAX;
|
||||||
|
#else
|
||||||
|
config.lora.hop_limit = HOP_RELIABLE;
|
||||||
#endif
|
#endif
|
||||||
|
LOG_DEBUG("Hop Limit set to %x", config.lora.hop_limit);
|
||||||
#ifdef USERPREFS_CONFIG_LORA_IGNORE_MQTT
|
#ifdef USERPREFS_CONFIG_LORA_IGNORE_MQTT
|
||||||
config.lora.ignore_mqtt = USERPREFS_CONFIG_LORA_IGNORE_MQTT;
|
config.lora.ignore_mqtt = USERPREFS_CONFIG_LORA_IGNORE_MQTT;
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user