Merge pull request #551 from Hunter275/position-precision-v2

Fix Position Precision for non-Primary channels
This commit is contained in:
Dan Ditomaso
2025-04-01 11:19:33 -04:00
committed by GitHub
+3 -2
View File
@@ -34,9 +34,10 @@ export const Channel = ({ channel }: SettingsPanelProps) => {
settings: {
...data.settings,
psk: toByteArray(pass),
moduleSettings: {...data.settings.moduleSettings,
moduleSettings: create(Protobuf.Channel.ModuleSettingsSchema, {
...data.settings.moduleSettings,
positionPrecision: data.settings.moduleSettings.positionPrecision,
},
}),
},
});
connection?.setChannel(channel).then(() => {