mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
fixed bug with telemetry/powermeter labels in CLI - wasn't synced with enum properly.
baro altitude telemetry fix. git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@301 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
98d0581ac2
commit
880b7418fd
3 changed files with 8 additions and 9 deletions
|
@ -95,9 +95,9 @@ static void sendAccel(void)
|
|||
static void sendBaro(void)
|
||||
{
|
||||
sendDataHead(ID_ALTITUDE_BP);
|
||||
serialize16(EstAlt / 100);
|
||||
serialize16(BaroAlt / 100);
|
||||
sendDataHead(ID_ALTITUDE_AP);
|
||||
serialize16(EstAlt % 100);
|
||||
serialize16(BaroAlt % 100);
|
||||
}
|
||||
|
||||
static void sendTemperature1(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue