Skip to content
Snippets Groups Projects
Commit 97ce5d1d authored by Damien George's avatar Damien George
Browse files

tests/pyb/rtc: Make RTC test on pyboard more reliable by calling init().

parent 7d60a979
Branches
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ import pyb, stm ...@@ -2,6 +2,7 @@ import pyb, stm
from pyb import RTC from pyb import RTC
rtc = RTC() rtc = RTC()
rtc.init()
print(rtc) print(rtc)
# make sure that 1 second passes correctly # make sure that 1 second passes correctly
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment