mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +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;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
state++;
|
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);
|
displayWrite(osdDisplayPort, midCol - (len / 2), currentRow++, DISPLAYPORT_SEVERITY_NORMAL, buff);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
state = 0;
|
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);
|
displayWrite(osdDisplayPort, midCol - (len / 2), currentRow++, DISPLAYPORT_SEVERITY_NORMAL, buff);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue