Skip to content

Commit

Permalink
Update osd.c
Browse files Browse the repository at this point in the history
  • Loading branch information
MrD-RC committed Dec 6, 2024
1 parent 7e09a08 commit 9343970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/io/osd.c
Original file line number Diff line number Diff line change
Expand Up @@ -5346,12 +5346,12 @@ static void osdShowHDArmScreen(void)
armScreenRow = drawLogos(false, armScreenRow);
armScreenRow++;

if (!osdConfig()->use_pilot_logo && osdElementEnabled(OSD_PILOT_NAME, false) && strlen(systemConfig()->pilotName) > 0) {
if (!osdConfig()->use_pilot_logo && strlen(systemConfig()->pilotName) > 0) {
osdFormatPilotName(buf2);
showPilotOrCraftName = true;
}

if (osdElementEnabled(OSD_CRAFT_NAME, false) && strlen(systemConfig()->craftName) > 0) {
if (strlen(systemConfig()->craftName) > 0) {
osdFormatCraftName(craftNameBuf);
if (strlen(buf2) > 0) {
strcat(buf2, " : ");
Expand Down

0 comments on commit 9343970

Please sign in to comment.