Skip to content

Commit f6614fb

Browse files
Fischer Moseleyfischermoseley
Fischer Moseley
andcommitted
Fixed variable type for -fpermissive
Co-Authored-By: Fischer Moseley <[email protected]>
1 parent d83b22f commit f6614fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Example6_ChangeI2CAddress/Example6_ChangeI2CAddress.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void loop() {
7474

7575
//Read the buffer and parse it for a valid hex address
7676
String stringBuffer = Serial.readStringUntil('\r');
77-
uint8_t charBuffer[10];
77+
char charBuffer[10];
7878
stringBuffer.toCharArray(charBuffer, 10);
7979
uint8_t newAddress = 0;
8080
uint8_t success = sscanf(charBuffer, "%x", &newAddress);

0 commit comments

Comments
 (0)