Skip to content

Commit 82e3160

Browse files
authored
Merge pull request #809 from Tinyu-Zhao/main
Corrected error in machine.UART.irq
2 parents 9e3f22a + 34832ce commit 82e3160

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

reference/micropython/machine/UART.pyi

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -456,10 +456,9 @@ class UART:
456456

457457
def irq(
458458
self,
459-
trigger: int,
460-
priority: int = 1,
461459
handler: Callable[[UART], None] | None = None,
462-
wake: int = IDLE,
460+
trigger: int = 0,
461+
hard: bool = False,
463462
/,
464463
) -> _IRQ:
465464
"""

0 commit comments

Comments
 (0)