summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/rtc.h')
-rw-r--r--stmhal/rtc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stmhal/rtc.h b/stmhal/rtc.h
index 69d64c778a..f382fa6b63 100644
--- a/stmhal/rtc.h
+++ b/stmhal/rtc.h
@@ -23,9 +23,13 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
+#ifndef MICROPY_INCLUDED_STMHAL_RTC_H
+#define MICROPY_INCLUDED_STMHAL_RTC_H
extern RTC_HandleTypeDef RTCHandle;
extern const mp_obj_type_t pyb_rtc_type;
void rtc_init_start(bool force_init);
void rtc_init_finalise(void);
+
+#endif // MICROPY_INCLUDED_STMHAL_RTC_H