diff options
Diffstat (limited to 'cc3200/mods/pybrtc.h')
-rw-r--r-- | cc3200/mods/pybrtc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cc3200/mods/pybrtc.h b/cc3200/mods/pybrtc.h index abe38cc380..5f1ff654d7 100644 --- a/cc3200/mods/pybrtc.h +++ b/cc3200/mods/pybrtc.h @@ -25,9 +25,14 @@ * THE SOFTWARE. */ +#ifndef PYBRTC_H_ +#define PYBRTC_H_ + #define RTC_U16MS_CYCLES(msec) ((msec * 1024) / 1000) #define RTC_CYCLES_U16MS(cycles) ((cycles * 1000) / 1024) extern const mp_obj_type_t pyb_rtc_type; void pybrtc_init(void); + +#endif // PYBRTC_H_ |