[all] Shift in timer modes (negative toggle modes, I wonder if I shouldn't remove them, as I don't see how they can be useful...)

This commit is contained in:
bsongis@gmail.com
2013-08-05 22:44:11 +00:00
parent b130a8dbbd
commit 2e1ac80a25
3 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -947,10 +947,6 @@ 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);
@@ -960,6 +956,10 @@ void putsTmrMode(xcoord_t x, uint8_t y, int8_t mode, LcdFlags att)
return;
}
if (mode >= TMR_VAROFS+MAX_PSWITCH+NUM_CSW) {
mode++;
}
putsSwitches(x, y, mode-(TMR_VAROFS-1), att);
}