Browse Source

Merge pull request #303 from Hunter275/gps-precision

pull/310/head
Hunter Thornsberry 2 years ago
committed by GitHub
parent
commit
02cb4f2584
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      src/components/PageComponents/Config/Position.tsx
  2. 3
      src/validation/config/position.ts

6
src/components/PageComponents/Config/Position.tsx

@ -77,12 +77,6 @@ export const Position = (): JSX.Element => {
label: "Enable Pin", label: "Enable Pin",
description: "GPS module enable pin override", description: "GPS module enable pin override",
}, },
{
type: "number",
name: "channelPrecision",
label: "Channel Precision",
description: "GPS channel precision",
},
], ],
}, },
{ {

3
src/validation/config/position.ts

@ -43,7 +43,4 @@ export class PositionValidation
@IsEnum(Protobuf.Config.Config_PositionConfig_GpsMode) @IsEnum(Protobuf.Config.Config_PositionConfig_GpsMode)
gpsMode: Protobuf.Config.Config_PositionConfig_GpsMode; gpsMode: Protobuf.Config.Config_PositionConfig_GpsMode;
@IsArray()
channelPrecision: number[];
} }

Loading…
Cancel
Save