mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-09 09:47:08 +01:00
Increase buffer size to fit B0 code
This commit is contained in:
@@ -102,7 +102,7 @@ static bool _rfbToChar(byte * in, char * out, int n = RF_MESSAGE_SIZE) {
|
||||
#if WEB_SUPPORT
|
||||
|
||||
void _rfbWebSocketSendCode(unsigned char id, bool status, const char * code) {
|
||||
char wsb[100];
|
||||
char wsb[192];
|
||||
snprintf_P(wsb, sizeof(wsb), PSTR("{\"rfb\":[{\"id\": %d, \"status\": %d, \"data\": \"%s\"}]}"), id, status ? 1 : 0, code);
|
||||
wsSend(wsb);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user