Skip to content

Commit 8813971

Browse files
committed
Updated the GPS sensors to degree unit.
1 parent 70d4d62 commit 8813971

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

radio/src/telemetry/flysky_ibus.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ const FlySkySensor flySkySensors[] = {
185185
{ AFHDS2A_ID_ODO1, STR_SENSOR_ODO1, UNIT_METERS, 2 }, // 2 bytes Odometer1 -- some magic with 330 needed
186186
{ AFHDS2A_ID_ODO2, STR_SENSOR_ODO2, UNIT_METERS, 2 }, // 2 bytes Odometer2 -- some magic with 330 needed
187187
{ AFHDS2A_ID_SPE, STR_SENSOR_ASPD, UNIT_KMH, 2 }, // 2 bytes Speed km/h -- some magic with 330 needed
188-
{ AFHDS2A_ID_GPS_LAT, STR_SENSOR_GPS, UNIT_GPS, 7 }, // 4 bytes signed WGS84 in degrees * 1E7
189-
{ AFHDS2A_ID_GPS_LON, STR_SENSOR_GPS, UNIT_GPS, 7 }, // 4 bytes signed WGS84 in degrees * 1E7
188+
{ AFHDS2A_ID_GPS_LAT, STR_SENSOR_GPS, UNIT_DEGREE, 7 }, // 4 bytes signed WGS84 in degrees * 1E7
189+
{ AFHDS2A_ID_GPS_LON, STR_SENSOR_GPS, UNIT_DEGREE, 7 }, // 4 bytes signed WGS84 in degrees * 1E7
190190
{ AFHDS2A_ID_GPS_ALT, STR_SENSOR_GPSALT, UNIT_METERS, 2 }, // 4 bytes signed GPS alt m*100
191191
{ AFHDS2A_ID_ALT, STR_SENSOR_ALT, UNIT_METERS, 2 }, // 4 bytes signed Alt m*100
192192
{ AFHDS2A_ID_RX_SIG_AFHDS3, STR_SENSOR_RX_QUALITY, UNIT_PERCENT, 0 }, // RX error rate

0 commit comments

Comments
 (0)