Adds support for position_precision

This commit is contained in:
Jonathan Bennett
2024-02-22 12:32:01 -06:00
parent 790f100620
commit eb2fa727a7
3 changed files with 13 additions and 12 deletions

View File

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