From b159bf0bb24a99c7d3ff1b3855f840add63198e5 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Wed, 11 Oct 2017 21:26:27 -0400 Subject: Cleanup 'unused parameter' warnings, a couple of which are actual coding errors. --- projects/cli-test/mgmt-cli.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'projects/cli-test/mgmt-cli.c') diff --git a/projects/cli-test/mgmt-cli.c b/projects/cli-test/mgmt-cli.c index b3dbabf..6910c4d 100644 --- a/projects/cli-test/mgmt-cli.c +++ b/projects/cli-test/mgmt-cli.c @@ -97,6 +97,8 @@ static uint8_t uart_rx; */ void HAL_UART1_RxCpltCallback(UART_HandleTypeDef *huart) { + huart = huart; + ringbuf_write_char(&uart_ringbuf, uart_rx); } -- cgit v1.2.3