From ca6aed7649adcc25445e3da73a65bfbbca209728 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 24 Oct 2024 16:28:28 +1100 Subject: [PATCH] tests/extmod: Fix access of RTC class in machine.RTC test. This previously passed on some targets that automatically import the `machine` module in `boot.py`. Signed-off-by: Damien George --- tests/extmod/machine_rtc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/extmod/machine_rtc.py b/tests/extmod/machine_rtc.py index 008453b56..17518c233 100644 --- a/tests/extmod/machine_rtc.py +++ b/tests/extmod/machine_rtc.py @@ -6,7 +6,7 @@ except ImportError: print("SKIP") raise SystemExit -rtc = machine.RTC() +rtc = RTC() # Save datetime. orig_datetime = rtc.datetime()