Skip to content

Commit ca2cc66

Browse files
author
Alasdair Allan
authored
Merge pull request #21 from lurch/patch-1
Remove redundant linefeed
2 parents 36191d3 + 61acd77 commit ca2cc66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

irq/irq.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from machine import Pin
22

33
p2 = Pin(2, Pin.IN, Pin.PULL_UP)
4-
p2.irq(lambda pin: print("IRQ with flags:", pin.irq().flags()),
5-
Pin.IRQ_FALLING)
4+
p2.irq(lambda pin: print("IRQ with flags:", pin.irq().flags()), Pin.IRQ_FALLING)

0 commit comments

Comments
 (0)