fixed color

This commit is contained in:
ESPboy 2020-10-28 09:47:33 +03:00
parent e18cac56ce
commit a6a4b3e8f7

View file

@ -213,7 +213,8 @@ void drawDecodedSignal() {
toPrint+=protocolratio; toPrint+=protocolratio;
toPrint+= "} "; toPrint+= "} ";
toPrint+=(mySwitch.getReceivedInverted()) ? "true" : "false"; toPrint+=(mySwitch.getReceivedInverted()) ? "true" : "false";
printConsoleLocal(toPrint, TFT_RED, 1, 0); if(!mySwitch.getReceivedProtocol())printConsoleLocal(toPrint, TFT_RED, 1, 0);
else printConsoleLocal(toPrint, TFT_GREEN, 1, 0);
toPrint="PULSE LEN: "; toPrint="PULSE LEN: ";
toPrint+=(String)mySwitch.getReceivedDelay(); toPrint+=(String)mySwitch.getReceivedDelay();