summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/rp2/modules/rp2.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ports/rp2/modules/rp2.py b/ports/rp2/modules/rp2.py
index a3adcdc51..17e35c73b 100644
--- a/ports/rp2/modules/rp2.py
+++ b/ports/rp2/modules/rp2.py
@@ -33,7 +33,9 @@ class PIOASMEmit:
push_thresh=32,
pull_thresh=32
):
- from array import array
+ # uarray is a built-in module so importing it here won't require
+ # scanning the filesystem.
+ from uarray import array
self.labels = {}
execctrl = 0