From e4865749b97cfd8761e80fbf9bd26ff825f3be13 Mon Sep 17 00:00:00 2001 From: "Carlos Duarte Do Nascimento (Chester)" Date: Thu, 31 Dec 2020 13:41:39 -0500 Subject: [PATCH] Declare sendIdentifiedPRotocol so MQTTtoIR finds it (#840) * Declare sendIdentifiedPRotocol so MQTTtoIR finds it Avoids this compilation error on Arduino IDE 1.8.13: ```c ZgatewayIR:258:90: error: 'sendIdentifiedProtocol' was not declared in this scope signalSent = sendIdentifiedProtocol(protocol_name, data, hex, valueBITS, valueRPT); ``` ^ * Remove trailing spaces I *think* that was the linter complaint (given it shows no message, and before/after parts in diff are visually identical --- main/ZgatewayIR.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/ZgatewayIR.ino b/main/ZgatewayIR.ino index 00c6022..349d473 100644 --- a/main/ZgatewayIR.ino +++ b/main/ZgatewayIR.ino @@ -179,6 +179,8 @@ void IRtoMQTT() { } } +bool sendIdentifiedProtocol(const char* protocol_name, SIGNAL_SIZE_UL_ULL data, const char* hex, unsigned int valueBITS, uint16_t valueRPT); + # ifdef jsonReceiving void MQTTtoIR(char* topicOri, JsonObject& IRdata) { if (cmpToMainTopic(topicOri, subjectMQTTtoIR)) {