mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
Bug with PPM center: it was displayed a pulses value when on "Trims => Offsets" line ...
This commit is contained in:
parent
0682da0ff1
commit
735e272d36
1 changed files with 2 additions and 2 deletions
|
@ -1869,10 +1869,10 @@ void menuProcLimits(uint8_t event)
|
|||
|
||||
MENU(STR_MENULIMITS, menuTabModel, e_Limits, 1+NUM_CHNOUT+1, {0, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, LIMITS_ITEMS_COUNT, 0});
|
||||
|
||||
int8_t sub = m_posVert - 1;
|
||||
uint8_t sub = m_posVert - 1;
|
||||
|
||||
#ifdef PPM_CENTER_ADJUSTABLE
|
||||
if (sub >= 0) {
|
||||
if (sub < NUM_CHNOUT) {
|
||||
lcd_outdezAtt(12*FW, 0, PPM_CENTER+g_model.servoCenter[sub]+g_chans512[sub]/2, 0);
|
||||
lcd_puts(12*FW, 0, STR_US);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue