Private
Public Access
2
0

hello_isr.py: fix usage of isr in python example

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-05-16 17:52:06 +01:00
parent 104555b908
commit 5d9fc39ae9

View File

@@ -7,4 +7,4 @@ def test():
x = maa.Gpio(6)
x.dir(maa.MAA_GPIO_IN)
x.set_isr(test)
x.isr(maa.MAA_GPIO_EDGE_BOTH, test)