Skip to content

Commit 97ce5d1

Browse files
committed
tests/pyb/rtc: Make RTC test on pyboard more reliable by calling init().
1 parent 7d60a97 commit 97ce5d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/pyb/rtc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from pyb import RTC
33

44
rtc = RTC()
5+
rtc.init()
56
print(rtc)
67

78
# make sure that 1 second passes correctly

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy