Switches fix (because we have more than 256 switches today)

This commit is contained in:
Bertrand Songis
2019-06-06 13:25:41 +02:00
parent 8050d8df6e
commit eb99769dbd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ uint8_t editCheckBox(uint8_t value, coord_t x, coord_t y, const char *label, Lcd
#endif
}
int8_t editSwitch(coord_t x, coord_t y, int8_t value, LcdFlags attr, event_t event)
swsrc_t editSwitch(coord_t x, coord_t y, swsrc_t value, LcdFlags attr, event_t event)
{
drawFieldLabel(x, y, STR_SWITCH);
drawSwitch(x, y, value, attr);