Browse Source

stop gap for channel position precision until fix is worked out

pull/499/head
Hunter Thornsberry 1 year ago
parent
commit
db50bb5c1b
  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