From 1175ff63f2a8c4762692551403862f9f0789aef8 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Tue, 2 May 2017 17:10:02 -0400 Subject: Merge branch 'init_cleanup' into no-rtos Clean up Makefiles and initialization code. --- stm-rtc.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'stm-rtc.h') diff --git a/stm-rtc.h b/stm-rtc.h index edbed9d..794ef2d 100644 --- a/stm-rtc.h +++ b/stm-rtc.h @@ -37,8 +37,7 @@ #include "stm32f4xx_hal.h" -extern I2C_HandleTypeDef hi2c_rtc; - +extern void rtc_init(void); extern HAL_StatusTypeDef rtc_device_ready(uint16_t i2c_addr); extern HAL_StatusTypeDef rtc_enable_oscillator(); extern HAL_StatusTypeDef rtc_send_byte(const uint16_t i2c_addr, const uint8_t value, const uint16_t timeout); -- cgit v1.2.3