Skip to content

Commit 99e4dc9

Browse files
committed
Fix Async ErasedPin for ESP32
1 parent ac1ff12 commit 99e4dc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp-hal-common/src/gpio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1850,7 +1850,7 @@ mod asynch {
18501850
for GpioPin<Input<MODE>, RA, IRA, PINTYPE, SIG, GPIONUM>
18511851
where
18521852
RA: BankGpioRegisterAccess,
1853-
PINTYPE: IsOutputPin,
1853+
PINTYPE: IsInputPin,
18541854
IRA: InteruptStatusRegisterAccess,
18551855
SIG: GpioSignal,
18561856
{

0 commit comments

Comments
 (0)