nrf5/rtc: Correcting RTC1 base error in rtc template.

This commit is contained in:
Glenn Ruben Bakke 2017-01-12 08:47:16 +01:00
parent 719bdcfed4
commit 24abb69eec

View File

@ -53,7 +53,7 @@ void rtc_init0(void) {
memset(&RTCHandle0, 0, sizeof(RTC_HandleTypeDef));
RTCHandle0.instance = RTC0;
memset(&RTCHandle1, 0, sizeof(RTC_HandleTypeDef));
RTCHandle0.instance = RTC1;
RTCHandle1.instance = RTC1;
}
STATIC int rtc_find(mp_obj_t id) {