]> git.earman.xyz Git - sensor-watch.git/commitdiff
silence compiler warning
authorJoey Castillo <joeycastillo@utexas.edu>
Thu, 27 Jan 2022 03:15:53 +0000 (22:15 -0500)
committerJoey Castillo <joeycastillo@utexas.edu>
Thu, 27 Jan 2022 03:15:53 +0000 (22:15 -0500)
watch-library/hardware/hal/src/hal_usart_sync.c

index ab99c1d16633343dda593e5a2c2776d6626b925c..c7aaf92043b3f84d17a4c6175bb92cb9f6996bad 100755 (executable)
@@ -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);