Skip to content

Commit

Permalink
Update osd.c
Browse files Browse the repository at this point in the history
  • Loading branch information
breadoven committed Aug 25, 2023
1 parent 74320cb commit 72912aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/io/osd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2022,6 +2022,7 @@ static bool osdDrawSingleElement(uint8_t item)

TEXT_ATTRIBUTES_ADD_BLINK(elemAttr);
}
displayWriteWithAttr(osdDisplayPort, elemPosX, elemPosY, buff, elemAttr);

if (STATE(MULTIROTOR) && posControl.flags.isAdjustingAltitude) {
/* Indicate MR altitude adjustment active with constant symbol at first blank position.
Expand All @@ -2040,6 +2041,7 @@ static bool osdDrawSingleElement(uint8_t item)
return true;
}


case OSD_ALTITUDE_MSL:
{
int32_t alt = osdGetAltitudeMsl();
Expand Down

0 comments on commit 72912aa

Please sign in to comment.