_
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user