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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
7 additions and
7 deletions
-
src/components/PageComponents/Channel.tsx
|
|
|
@ -34,13 +34,13 @@ export const Channel = ({ channel }: SettingsPanelProps) => { |
|
|
|
settings: { |
|
|
|
...data.settings, |
|
|
|
psk: toByteArray(pass), |
|
|
|
moduleSettings: { |
|
|
|
positionPrecision: data.settings.positionEnabled |
|
|
|
? data.settings.preciseLocation |
|
|
|
? 32 |
|
|
|
: data.settings.positionPrecision |
|
|
|
: 0, |
|
|
|
}, |
|
|
|
// moduleSettings: {
|
|
|
|
// positionPrecision: data.settings.positionEnabled
|
|
|
|
// ? data.settings.preciseLocation
|
|
|
|
// ? 32
|
|
|
|
// : data.settings.positionPrecision
|
|
|
|
// : 0,
|
|
|
|
// },
|
|
|
|
}, |
|
|
|
}); |
|
|
|
connection?.setChannel(channel).then(() => { |
|
|
|
|