mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
fix writeGpsPositionPrameToBST
This commit is contained in:
parent
b6408b3a32
commit
1588a6a23d
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ static uint8_t numOfSat = 0;
|
|||
#ifdef USE_GPS
|
||||
bool writeGpsPositionPrameToBST(void)
|
||||
{
|
||||
if ((lat != gpsSol.llh.lat) || (lon != gpsSol.llh.lon) || (alt != (gpsSol.llh.altCm / 100)) || (numOfSat != gpsSol.numSat)) {
|
||||
if ((lat != gpsSol.llh.lat) || (lon != gpsSol.llh.lon) || (altM != (gpsSol.llh.altCm / 100)) || (numOfSat != gpsSol.numSat)) {
|
||||
lat = gpsSol.llh.lat;
|
||||
lon = gpsSol.llh.lon;
|
||||
altM = gpsSol.llh.altCm / 100;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue