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
This commit is contained in:
Carlos Duarte Do Nascimento (Chester) authored and GitHub committed 2020-12-31 12:41:39 -06:00
1 parent 85dc3cea6f
commit e4865749b9
1 file changed
+2
+2
View File
@@ -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)) {