This commit is contained in:
2025-09-07 18:48:24 +02:00
parent d90c7e6d65
commit 837ad97a21
2 changed files with 7 additions and 7 deletions

View File

@@ -39,9 +39,9 @@ void applyColorMode(int meterMode, int plugMode) {
}
switch (plugMode) {
case 1: plugColorPowerPositive = ILI9341_WHITE; plugColorPowerNegative = ILI9341_GREEN; break;
case 2: plugColorPowerPositive = ILI9341_YELLOW; plugColorPowerNegative = ILI9341_GREEN; break;
case 3: plugColorPowerPositive = ILI9341_GREEN; plugColorPowerNegative = ILI9341_GREEN; break;
case 1: plugColorPowerPositive = ILI9341_WHITE; plugColorPowerNegative = ILI9341_RED; break;
case 2: plugColorPowerPositive = ILI9341_YELLOW; plugColorPowerNegative = ILI9341_RED; break;
case 3: plugColorPowerPositive = ILI9341_GREEN; plugColorPowerNegative = ILI9341_RED; break;
}
}