1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 09:45:21 +03:00

No Center Beeps during calibration

This commit is contained in:
bsongis 2014-06-02 15:20:22 +02:00
parent 9b31bfd3ec
commit fbb90ff5d5
5 changed files with 14 additions and 14 deletions

View file

@ -1501,9 +1501,9 @@ void menuCommonCalib(uint8_t event)
}
}
s_noScroll = reusableBuffer.calib.state; // make sure we don't scroll while calibrating
calibrationState = reusableBuffer.calib.state; // make sure we don't scroll while calibrating
switch(event)
switch (event)
{
case EVT_ENTRY:
reusableBuffer.calib.state = 0;
@ -1524,7 +1524,7 @@ void menuCommonCalib(uint8_t event)
case 1:
// SET MIDPOINT
lcd_putsAtt(0*FW, 2*FH, STR_SETMIDPOINT, s_noScroll ? INVERS : 0);
lcd_putsAtt(0*FW, 2*FH, STR_SETMIDPOINT, INVERS);
lcd_putsLeft(3*FH, STR_MENUWHENDONE);
for (uint8_t i=0; i<NUM_STICKS+NUM_POTS; i++) {
@ -1543,7 +1543,7 @@ void menuCommonCalib(uint8_t event)
case 2:
// MOVE STICKS/POTS
STICK_SCROLL_DISABLE();
lcd_putsAtt(0*FW, 2*FH, STR_MOVESTICKSPOTS, s_noScroll ? INVERS : 0);
lcd_putsAtt(0*FW, 2*FH, STR_MOVESTICKSPOTS, INVERS);
lcd_putsLeft(3*FH, STR_MENUWHENDONE);
for (uint8_t i=0; i<NUM_STICKS+NUM_POTS; i++) {