|
|
@ -2874,9 +2874,15 @@ void UI_handle_OP(uint8_t param, uint8_t op, uint8_t instance_id) |
|
|
|
LCDML.FUNC_goBackToMenu(); |
|
|
|
LCDML.FUNC_goBackToMenu(); |
|
|
|
} |
|
|
|
} |
|
|
|
else if (LCDML.BT_checkUp() && state == true) |
|
|
|
else if (LCDML.BT_checkUp() && state == true) |
|
|
|
|
|
|
|
{ |
|
|
|
bitClear(configuration.dexed[instance_id].op_enabled, op); |
|
|
|
bitClear(configuration.dexed[instance_id].op_enabled, op); |
|
|
|
|
|
|
|
state = false; |
|
|
|
|
|
|
|
} |
|
|
|
else if (LCDML.BT_checkDown() && state == false) |
|
|
|
else if (LCDML.BT_checkDown() && state == false) |
|
|
|
|
|
|
|
{ |
|
|
|
bitSet(configuration.dexed[instance_id].op_enabled, op); |
|
|
|
bitSet(configuration.dexed[instance_id].op_enabled, op); |
|
|
|
|
|
|
|
state = true; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
lcd.setCursor(0, 1); |
|
|
|
lcd.setCursor(0, 1); |
|
|
|