Browse Source

Merge pull request #499 from Hunter275/position_precision_stop_gap

Stop Gap: Remove Position Precision
pull/511/head
Dan Ditomaso 1 year ago
committed by GitHub
parent
commit
c320d7d173
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 14
      src/components/PageComponents/Channel.tsx

14
src/components/PageComponents/Channel.tsx

@ -34,13 +34,13 @@ export const Channel = ({ channel }: SettingsPanelProps) => {
settings: { settings: {
...data.settings, ...data.settings,
psk: toByteArray(pass), psk: toByteArray(pass),
moduleSettings: { // moduleSettings: {
positionPrecision: data.settings.positionEnabled // positionPrecision: data.settings.positionEnabled
? data.settings.preciseLocation // ? data.settings.preciseLocation
? 32 // ? 32
: data.settings.positionPrecision // : data.settings.positionPrecision
: 0, // : 0,
}, // },
}, },
}); });
connection?.setChannel(channel).then(() => { connection?.setChannel(channel).then(() => {

Loading…
Cancel
Save