1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Updated GPS logitude/latitude calculation.

The existing implementation that was ported over was trying to work with
different values.  By writing a unit test for the code that stores
values in GPS_coord it was possible to have known values which could
then also be used to write a unit test for the HoTT telemetry which
finally enabled production code to be written.

Hopefully it will work, unable to test further since my GPS unit is
playing up.
This commit is contained in:
Dominic Clifton 2014-05-24 21:09:07 +01:00
parent 49781b5080
commit 10279c0178
6 changed files with 225 additions and 66 deletions

View file

@ -43,7 +43,7 @@ bool isSerialTransmitBufferEmpty(serialPort_t *instance)
return instance->vTable->isSerialTransmitBufferEmpty(instance);
}
inline void serialSetMode(serialPort_t *instance, portMode_t mode)
void serialSetMode(serialPort_t *instance, portMode_t mode)
{
instance->vTable->setMode(instance, mode);
}