[all] Problem with momentary switches when used in timers. Thanks Gabriel for reporting this bug!
This commit is contained in:
@@ -894,6 +894,9 @@ void putsCurve(xcoord_t x, uint8_t y, int8_t idx, LcdFlags att)
|
||||
|
||||
void putsTmrMode(xcoord_t x, uint8_t y, int8_t mode, LcdFlags att)
|
||||
{
|
||||
if (mode >= TMR_VAROFS+MAX_PSWITCH+NUM_CSW)
|
||||
mode++;
|
||||
|
||||
if (mode < 0) {
|
||||
mode = TMR_VAROFS - mode - 1;
|
||||
lcd_putcAtt(x-1*FW, y, '!', att);
|
||||
|
||||
Reference in New Issue
Block a user