Skip to content

Commit 9c8f91c

Browse files
committed
Fix ctypes -> uctypes for MicroPython v1.21.0
1 parent da680f6 commit 9c8f91c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ports/x68k/sample/dosgetdpb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import x68k
22
from struct import pack,unpack
3-
from ctypes import addressof
3+
from uctypes import addressof
44

55
buf=bytearray(96)
66
x68k.dos(x68k.d.GETDPB,pack('hl',0,addressof(buf)))

ports/x68k/sample/iocsline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import x68k
22
from struct import pack
3-
from ctypes import addressof
3+
from uctypes import addressof
44
import random
55

66
x68k.crtmod(14, True)

0 commit comments

Comments
 (0)