[Cryptech-Commits] [sw/stm32] 07/09: Fix warnings
git at cryptech.is
git at cryptech.is
Wed May 18 19:16:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
fredrik at thulin.net pushed a commit to branch master
in repository sw/stm32.
commit 5e32bc524c4987cfe33cccdb544e3f8d66802895
Author: Fredrik Thulin <fredrik at thulin.net>
AuthorDate: Wed May 18 14:44:50 2016 +0200
Fix warnings
---
stm-rtc.c | 2 +-
stm-uart.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
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;
diff --git a/stm-uart.c b/stm-uart.c
index 6f49ce3..297718d 100644
--- a/stm-uart.c
+++ b/stm-uart.c
@@ -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;
}
More information about the Commits
mailing list