Update xdrv_06_snfbridge.ino

This commit is contained in:
andrethomas 2018-10-13 20:46:17 +02:00 committed by GitHub
parent 040d4c6ba2
commit cd86a2c8a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ boolean SonoffBridgeCommand()
break;
}
} else {
char rawsend[XdrvMailbox.data_len];
char rawsend[XdrvMailbox.data_len+1];
sprintf(rawsend,"%s",charclean(XdrvMailbox.data));
SerialSendRaw(rawsend, strlen(rawsend));
sonoff_bridge_receive_raw_flag = 1;