We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0d4d17 commit a8bead7Copy full SHA for a8bead7
cores/esp32/esp32-hal-gpio.c
@@ -185,7 +185,7 @@ extern int ARDUINO_ISR_ATTR __digitalRead(uint8_t pin) {
185
#endif // RGB_BUILTIN
186
// This work when the pin is set as GPIO and in INPUT mode. For all other pin functions, it may return inconsistent response
187
if (perimanGetPinBus(pin, ESP32_BUS_TYPE_GPIO) == NULL) {
188
- log_w("IO %i is not set as GPIO. digitalRead() may return an inconsistent value.");
+ log_w("IO %i is not set as GPIO. digitalRead() may return an inconsistent value.", pin);
189
}
190
return gpio_get_level((gpio_num_t)pin);
191
0 commit comments