Props.cpp corrections

This commit is contained in:
fauresystems
2020-04-05 08:55:56 +02:00
parent 80353a380f
commit 77be8a337c
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -173,11 +173,11 @@ void Props::sendOmit(String action) {
}
void Props::sendOver(String challenge) {
_client.publish(outbox, String("OMIT " + challenge).c_str());
_client.publish(outbox, String("OVER " + challenge).c_str());
}
void Props::sendProg(String program) {
_client.publish(outbox, String("PROGRAM " + program).c_str());
_client.publish(outbox, String("PROG " + program).c_str());
}
void Props::sendRequ(String request) {
@@ -185,7 +185,7 @@ void Props::sendRequ(String request) {
}
void Props::sendRequ(String action, char* topic) {
_client.publish(topic, String("OMIT " + action).c_str());
_client.publish(topic, String("REQU " + action).c_str());
}
void Props::resetIntervals(const int changes, const int silent)