1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 16:55:29 +03:00

Fix LTM compilation errors (caused by merge of #1411 and #1010)

This commit is contained in:
Dominic Clifton 2015-12-14 20:47:23 +01:00
parent ef1a4cbca0
commit f17ef30bb8

View file

@ -208,9 +208,9 @@ static void ltm_sframe(void)
static void ltm_aframe()
{
ltm_initialise_packet('A');
ltm_serialise_16(inclination.values.pitchDeciDegrees / 10);
ltm_serialise_16(inclination.values.rollDeciDegrees / 10);
ltm_serialise_16(heading);
ltm_serialise_16(DECIDEGREES_TO_DEGREES(attitude.values.pitch));
ltm_serialise_16(DECIDEGREES_TO_DEGREES(attitude.values.roll));
ltm_serialise_16(DECIDEGREES_TO_DEGREES(attitude.values.yaw));
ltm_finalise();
}
@ -290,7 +290,7 @@ void configureLtmTelemetryPort(void)
void checkLtmTelemetryState(void)
{
bool newTelemetryEnabledValue = determineNewTelemetryEnabledState(ltmPortSharing);
bool newTelemetryEnabledValue = telemetryDetermineEnabledState(ltmPortSharing);
if (newTelemetryEnabledValue == ltmEnabled)
return;
if (newTelemetryEnabledValue)