From b2dbc4feeb48697fbbdbb7740b6db552a45b3c02 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Wed, 26 Jan 2022 22:15:53 -0500 Subject: silence compiler warning --- watch-library/hardware/hal/src/hal_usart_sync.c | 1 + 1 file changed, 1 insertion(+) (limited to 'watch-library/hardware') diff --git a/watch-library/hardware/hal/src/hal_usart_sync.c b/watch-library/hardware/hal/src/hal_usart_sync.c index ab99c1d1..c7aaf920 100755 --- a/watch-library/hardware/hal/src/hal_usart_sync.c +++ b/watch-library/hardware/hal/src/hal_usart_sync.c @@ -48,6 +48,7 @@ static int32_t usart_sync_read(struct io_descriptor *const io_descr, uint8_t *co */ int32_t usart_sync_init(struct usart_sync_descriptor *const descr, void *const hw, void *const func) { + (void)func; int32_t init_status; ASSERT(descr && hw); init_status = _usart_sync_init(&descr->device, hw); -- cgit v1.2.3