Skip to content

Commit 857792d

Browse files
fixed an erronious gps to gps2 in the redux slice
1 parent 35bcfe0 commit 857792d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gcs/src/redux/slices/droneInfoSlice.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const droneInfoSlice = createSlice({
189189
}
190190
},
191191
setGps2RawIntData: (state, action) => {
192-
if (action.payload !== state.gpsRawIntData) {
192+
if (action.payload !== state.gps2RawIntData) {
193193
state.gps2RawIntData.satellitesVisible =
194194
action.payload.satellites_visible
195195
state.gps2RawIntData.fixType = action.payload.fix_type

0 commit comments

Comments
 (0)