Fix sats calculation (#3)
This commit is contained in:
parent
e5bb5dd000
commit
6b073a2136
@ -88,7 +88,7 @@ static void gps_loop() {
|
|||||||
txBuffer[7] = altitudeGps & 0xFF;
|
txBuffer[7] = altitudeGps & 0xFF;
|
||||||
hdopGps = _gps.hdop.value() / 10;
|
hdopGps = _gps.hdop.value() / 10;
|
||||||
txBuffer[8] = hdopGps & 0xFF;
|
txBuffer[8] = hdopGps & 0xFF;
|
||||||
sats = _gps.satellites.value() / 10;
|
sats = _gps.satellites.value();
|
||||||
txBuffer[9] = sats & 0xFF;
|
txBuffer[9] = sats & 0xFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user