Fix default stance in position_precision

This commit is contained in:
Jonathan Bennett
2024-02-24 12:53:46 -06:00
parent 730429fc9b
commit c2085c2c88
2 changed files with 17 additions and 4 deletions

View File

@@ -88,6 +88,7 @@ void Channels::initDefaultChannel(ChannelIndex chIndex)
channelSettings.psk.size = 1;
strncpy(channelSettings.name, "", sizeof(channelSettings.name));
channelSettings.module_settings.position_precision = 32; // default to sending location on the primary channel
channelSettings.has_module_settings = true;
ch.has_settings = true;
ch.role = meshtastic_Channel_Role_PRIMARY;