mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Fix extraPrearm 1 2 3
This commit is contained in:
parent
f50fbfe641
commit
c2a17d9e52
1 changed files with 2 additions and 2 deletions
|
@ -2361,12 +2361,12 @@ bool osdDrawPrearmStrings(displayPort_t *osdDisplayPort)
|
|||
break;
|
||||
case 1:
|
||||
state++;
|
||||
len = tfp_sprintf(buff, "%s", pilotConfig()->extraPrearm1);
|
||||
len = tfp_sprintf(buff, "%s", pilotConfig()->extraPrearm2);
|
||||
displayWrite(osdDisplayPort, midCol - (len / 2), currentRow++, DISPLAYPORT_SEVERITY_NORMAL, buff);
|
||||
break;
|
||||
case 2:
|
||||
state = 0;
|
||||
len = tfp_sprintf(buff, "%s", pilotConfig()->extraPrearm1);
|
||||
len = tfp_sprintf(buff, "%s", pilotConfig()->extraPrearm3);
|
||||
displayWrite(osdDisplayPort, midCol - (len / 2), currentRow++, DISPLAYPORT_SEVERITY_NORMAL, buff);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue