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
......@@ -2,6 +2,7 @@ import pyb, stm
from pyb import RTC
rtc = RTC()
rtc.init()
print(rtc)
# make sure that 1 second passes correctly
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment