Fix invocation of sendFakeLatLong() after 802218b77b.

Fix spelling in sendFakeLatLongThatAllowsHeadingDisplay function name.
This commit is contained in:
Sam Cook 2015-05-15 12:32:03 +01:00
parent dee68f5e4f
commit d6dc1f7bd8
1 changed files with 3 additions and 3 deletions

View File

@ -313,7 +313,7 @@ static void sendFakeLatLong(void)
sendLatLong(coord); sendLatLong(coord);
} }
static void sendFakeLatLongThaAllowsHeadingDisplay(void) static void sendFakeLatLongThatAllowsHeadingDisplay(void)
{ {
// Heading is only displayed on OpenTX if non-zero lat/long is also sent // Heading is only displayed on OpenTX if non-zero lat/long is also sent
int32_t coord[2] = { int32_t coord[2] = {
@ -532,10 +532,10 @@ void handleFrSkyTelemetry(rxConfig_t *rxConfig, uint16_t deadband3d_throttle)
sendGPSLatLong(); sendGPSLatLong();
} }
else { else {
sendFakeLatLongThaAllowsHeadingDisplay(); sendFakeLatLongThatAllowsHeadingDisplay();
} }
#else #else
sendFakeLatLong(false); sendFakeLatLongThatAllowsHeadingDisplay();
#endif #endif
sendTelemetryTail(); sendTelemetryTail();