From 97ce5d1d77fab41c00d9f852c5ce37bc1808181c Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Fri, 3 Jun 2016 15:13:39 +0100
Subject: [PATCH] tests/pyb/rtc: Make RTC test on pyboard more reliable by
 calling init().

---
 tests/pyb/rtc.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/pyb/rtc.py b/tests/pyb/rtc.py
index 09af52629..300c95634 100644
--- a/tests/pyb/rtc.py
+++ b/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
-- 
GitLab