Skip to content

Commit 36ebb83

Browse files
committed
Fixed compilation error
1 parent 8cda769 commit 36ebb83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP32/examples/Serial/Interrupt/Interrupt.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ static volatile size_t inputBufferLength = 0;
88
static void IRAM_ATTR onSerialRX(uint8_t character, void* user_arg){
99

1010
// Cast the user_arg back to a array
11-
char buffer[] = (char*)user_arg;
11+
char buffer* = (char*)user_arg;
1212

1313
if(inputBufferLength < BUFFER_SIZE){
1414
buffer[inputBufferLength++] = (char)character;

0 commit comments

Comments
 (0)