Merge pull request #7170 from wind0r/fix_bst_writeGpsPositionPrameToBST
fix writeGpsPositionPrameToBST
This commit is contained in:
commit
a7d2852700
|
@ -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…
Reference in New Issue