We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bfadf8 commit 8cda769Copy full SHA for 8cda769
libraries/ESP32/examples/Serial/Interrupt/Interrupt.ino
@@ -8,7 +8,7 @@ static volatile size_t inputBufferLength = 0;
8
static void IRAM_ATTR onSerialRX(uint8_t character, void* user_arg){
9
10
// Cast the user_arg back to a array
11
- char[] buffer = (char*)user_arg;
+ char buffer[] = (char*)user_arg;
12
13
if(inputBufferLength < BUFFER_SIZE){
14
buffer[inputBufferLength++] = (char)character;
0 commit comments