Hid: FIX global
This commit is contained in:
parent
23fe507dc2
commit
a0da08c050
@ -21,6 +21,7 @@ NULL = chr(0)
|
|||||||
hiddev = None
|
hiddev = None
|
||||||
|
|
||||||
def hid_init():
|
def hid_init():
|
||||||
|
global hiddev
|
||||||
hiddev=open('/dev/hidg0', 'rb+')
|
hiddev=open('/dev/hidg0', 'rb+')
|
||||||
|
|
||||||
def hid_write(data):
|
def hid_write(data):
|
||||||
|
Loading…
Reference in New Issue
Block a user