diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2016-05-18 14:44:50 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2016-05-18 14:44:50 +0200 |
commit | 5e32bc524c4987cfe33cccdb544e3f8d66802895 (patch) | |
tree | 87f0a6c90f23f959f8572fb10b1de731f1cd801d | |
parent | 3109973fe239e60f4ec223ce95ef1609ea329e7c (diff) |
Fix warnings
-rw-r--r-- | stm-rtc.c | 2 | ||||
-rw-r--r-- | stm-uart.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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; @@ -187,4 +187,6 @@ HAL_StatusTypeDef uart_send_hexdump(enum stm_uart_port port, const uint8_t *buf, uart_send_number2(port, *(buf + i), 2, 16); uart_send_string2(port, " "); } + + return HAL_OK; } |