[ESP8266] Fixed format overflow warning
This commit is contained in:
parent
9477789e9b
commit
eccf6e3865
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ int16_t ESP8266::closeTransportConnection() {
|
|||
|
||||
int16_t ESP8266::send(const char* data) {
|
||||
// build AT command
|
||||
char lenStr[8];
|
||||
char lenStr[12];
|
||||
sprintf(lenStr, "%d", strlen(data));
|
||||
const char* atStr = "AT+CIPSEND=";
|
||||
#ifdef RADIOLIB_STATIC_ONLY
|
||||
|
|
Loading…
Add table
Reference in a new issue