1
0
Fork 0
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:
limonspb 2024-04-29 05:11:38 -05:00 committed by limon.spb
parent f50fbfe641
commit c2a17d9e52

View file

@ -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;
}