summaryrefslogtreecommitdiffstatshomepage
path: root/cc3200/mods/pybrtc.h
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-05-26 16:50:18 +0200
committerDaniel Campora <daniel@wipy.io>2015-05-27 09:45:24 +0200
commitfca349344214e1bf7be95b728d64681adf1b4194 (patch)
treea2b93a4f82347da05b45f1efd394f1d2a6613ae2 /cc3200/mods/pybrtc.h
parent5a0c5f8fea921bdc58c895028c032a3c4d9ebcbb (diff)
downloadmicropython-fca349344214e1bf7be95b728d64681adf1b4194.tar.gz
micropython-fca349344214e1bf7be95b728d64681adf1b4194.zip
cc3200: Add make_new method to the RTC, like in stmhal.
Diffstat (limited to 'cc3200/mods/pybrtc.h')
-rw-r--r--cc3200/mods/pybrtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc3200/mods/pybrtc.h b/cc3200/mods/pybrtc.h
index 0c7a6f859a..4d76fae77e 100644
--- a/cc3200/mods/pybrtc.h
+++ b/cc3200/mods/pybrtc.h
@@ -31,7 +31,7 @@
#define RTC_U16MS_CYCLES(msec) ((msec * 1024) / 1000)
#define RTC_CYCLES_U16MS(cycles) ((cycles * 1000) / 1024)
-extern const mp_obj_base_t pyb_rtc_obj;
+extern const mp_obj_type_t pyb_rtc_type;
void pybrtc_init(void);
void pyb_rtc_callback_disable (mp_obj_t self_in);