summaryrefslogtreecommitdiff
path: root/tests/wipy/rtc.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wipy/rtc.py')
-rw-r--r--tests/wipy/rtc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/wipy/rtc.py b/tests/wipy/rtc.py
index ca6a34267..2737ebe73 100644
--- a/tests/wipy/rtc.py
+++ b/tests/wipy/rtc.py
@@ -2,12 +2,12 @@
RTC test for the CC3200 based boards.
'''
-from pyb import RTC
+from machine import RTC
import os
import time
-machine = os.uname().machine
-if not 'LaunchPad' in machine and not 'WiPy' in machine:
+mch = os.uname().machine
+if not 'LaunchPad' in mch and not 'WiPy' in mch:
raise Exception('Board not supported!')
rtc = RTC()