summaryrefslogtreecommitdiff
path: root/cc3200/mods/pybrtc.c
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-09-03 11:25:44 +0200
committerDaniel Campora <daniel@wipy.io>2015-09-10 07:59:35 +0200
commitd5e256486eafab543c3e24850fe87136c2f0575d (patch)
tree7082fb8108308a8b39f9c44423097e8f453c3bc6 /cc3200/mods/pybrtc.c
parent42054c3cad3c31fa25c09450577d986b62d983c0 (diff)
cc3200: Re-work Pin class according to the new API.
Also add relevant test.
Diffstat (limited to 'cc3200/mods/pybrtc.c')
-rw-r--r--cc3200/mods/pybrtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/mods/pybrtc.c b/cc3200/mods/pybrtc.c
index 1644d8aa8..14a610a67 100644
--- a/cc3200/mods/pybrtc.c
+++ b/cc3200/mods/pybrtc.c
@@ -80,7 +80,7 @@ STATIC const mp_obj_base_t pyb_rtc_obj = {&pyb_rtc_type};
DECLARE PUBLIC FUNCTIONS
******************************************************************************/
__attribute__ ((section (".boot")))
-void pybrtc_init(void) {
+void pybrtc_pre_init(void) {
// if the RTC was previously set, leave it alone
if (MAP_PRCMSysResetCauseGet() == PRCM_POWER_ON) {
// fresh reset; configure the RTC Calendar