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 5fbe15a commit 80a8293Copy full SHA for 80a8293
cores/siwigsm/wiring_digital.c
@@ -90,7 +90,7 @@ int digitalRead( uint32_t ulPin )
90
{
91
/* Not a GPIO */
92
if (ulPin >= GPIO_PIN_MAX)
93
- return;
+ return LOW;
94
95
if (g_ioHandles[ulPin] == 0) {
96
/* Fresh IO request */
0 commit comments