Skip to content

Commit 4922c91

Browse files
committed
unfixed it, it wasn't broke
1 parent feae4a7 commit 4922c91

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/gate-controller.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,8 @@ void loop()
103103
}
104104

105105
int triggerRelayDos(const char *event, const char *data){
106-
char pub[40] = "1";
107-
strcat(pub, data);
108-
Serial.println(pub);
109-
triggerRelay(pub);
106+
Serial.println(data);
107+
triggerRelay(data);
110108
}
111109

112110
int triggerRelay(String command){

0 commit comments

Comments
 (0)