From a6a4b3e8f7ab445fbaf8f867e565bdcc122a64cd Mon Sep 17 00:00:00 2001 From: ESPboy Date: Wed, 28 Oct 2020 09:47:33 +0300 Subject: [PATCH] fixed color --- ESPboy_Sub1GHzInspector.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ESPboy_Sub1GHzInspector.ino b/ESPboy_Sub1GHzInspector.ino index 9b7210f..dc455cc 100644 --- a/ESPboy_Sub1GHzInspector.ino +++ b/ESPboy_Sub1GHzInspector.ino @@ -213,7 +213,8 @@ void drawDecodedSignal() { toPrint+=protocolratio; toPrint+= "} "; 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+=(String)mySwitch.getReceivedDelay();