diff --git a/tests/extmod/machine_rtc.py b/tests/extmod/machine_rtc.py index 008453b56de2..17518c23305b 100644 --- a/tests/extmod/machine_rtc.py +++ b/tests/extmod/machine_rtc.py @@ -6,7 +6,7 @@ print("SKIP") raise SystemExit -rtc = machine.RTC() +rtc = RTC() # Save datetime. orig_datetime = rtc.datetime()