mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-17 10:43:24 +00:00
Setter for NeighborInfo
This commit is contained in:
parent
6bdf67c9be
commit
e60a5f1cf2
@ -370,6 +370,11 @@ void AdminModule::handleSetModuleConfig(const meshtastic_ModuleConfig &c)
|
|||||||
moduleConfig.has_remote_hardware = true;
|
moduleConfig.has_remote_hardware = true;
|
||||||
moduleConfig.remote_hardware = c.payload_variant.remote_hardware;
|
moduleConfig.remote_hardware = c.payload_variant.remote_hardware;
|
||||||
break;
|
break;
|
||||||
|
case meshtastic_ModuleConfig_neighbor_info_tag:
|
||||||
|
LOG_INFO("Setting module config: Neighbor Info\n");
|
||||||
|
moduleConfig.has_neighbor_info = true;
|
||||||
|
moduleConfig.neighbor_info = c.payload_variant.neighbor_info;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
saveChanges(SEGMENT_MODULECONFIG);
|
saveChanges(SEGMENT_MODULECONFIG);
|
||||||
|
Loading…
Reference in New Issue
Block a user