Browse Source

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

pull/2152/head
Damien George 9 years ago
parent
commit
97ce5d1d77
  1. 1
      tests/pyb/rtc.py

1
tests/pyb/rtc.py

@ -2,6 +2,7 @@ import pyb, stm
from pyb import RTC
rtc = RTC()
rtc.init()
print(rtc)
# make sure that 1 second passes correctly

Loading…
Cancel
Save