Commit d779b964 authored by Damien George's avatar Damien George
Browse files

tests: Wait for just over 1 sec when testing RTC.

Waiting for 1000ms between seconds of RTC is sometimes too quick.
Waiting for 1001ms is enough for the RTC to pass 1 second.
parent 244476e3
......@@ -6,7 +6,7 @@ print(rtc)
# make sure that 1 second passes correctly
rtc.datetime((2014, 1, 1, 1, 0, 0, 0, 0))
pyb.delay(1000)
pyb.delay(1001)
print(rtc.datetime()[:7])
def set_and_print(datetime):
......
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