Fix sats calculation (#3)

This commit is contained in:
Kyle Gabriel 2019-08-26 17:53:43 -04:00
parent e5bb5dd000
commit 6b073a2136

View File

@ -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;
} }