aboutsummaryrefslogtreecommitdiff
path: root/stm-rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm-rtc.c')
-rw-r--r--stm-rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm-rtc.c b/stm-rtc.c
index 85afdf4..66e41e8 100644
--- a/stm-rtc.c
+++ b/stm-rtc.c
@@ -60,7 +60,7 @@ HAL_StatusTypeDef rtc_enable_oscillator()
return HAL_OK;
}
-HAL_StatusTypeDef rtc_send_byte(const uint16_t i2c_addr, const uint8_t value, const uint16_t timeout)
+HAL_StatusTypeDef rtc_send_byte(const uint16_t i2c_addr, uint8_t value, const uint16_t timeout)
{
HAL_StatusTypeDef res;