Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 429273a

Browse filesBrowse files
committed
fix(gpio): Fix GPIO warning message
1 parent f122366 commit 429273a
Copy full SHA for 429273a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎cores/esp32/esp32-hal-gpio.c

Copy file name to clipboardExpand all lines: cores/esp32/esp32-hal-gpio.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ extern int ARDUINO_ISR_ATTR __digitalRead(uint8_t pin) {
185185
#endif // RGB_BUILTIN
186186
// This work when the pin is set as GPIO and in INPUT mode. For all other pin functions, it may return inconsistent response
187187
if (perimanGetPinBus(pin, ESP32_BUS_TYPE_GPIO) == NULL) {
188-
log_w("IO %i is not set as GPIO. digitalRead() may return an inconsistent value.");
188+
log_w("IO %i is not set as GPIO. digitalRead() may return an inconsistent value.", pin);
189189
}
190190
return gpio_get_level((gpio_num_t)pin);
191191
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.