aboutsummaryrefslogtreecommitdiff
path: root/stm-rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm-rtc.h')
-rw-r--r--stm-rtc.h3
1 files changed, 1 insertions, 2 deletions
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);