summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-12-07 19:53:27 +0700
committerGitHub <[email protected]>2021-12-07 19:53:27 +0700
commitcde824f17f73b5ce4fcec8c176827297854a76c2 (patch)
tree5126e741f12d4cc9276b34a41f6826879d1ff5ef
parentc157837878a4ffd4547d9983693a9214f2088151 (diff)
parentc9d9bfab924244da285895d1d594900e8de303fe (diff)
Merge pull request #1222 from scoudreau/swo_logger
Remove unused-parameter errors when LOGGER=swo
-rw-r--r--hw/bsp/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/bsp/board.c b/hw/bsp/board.c
index afacdef9f..e208624ba 100644
--- a/hw/bsp/board.c
+++ b/hw/bsp/board.c
@@ -126,6 +126,8 @@ TU_ATTR_USED int sys_write (int fhdl, const void *buf, size_t count)
TU_ATTR_USED int sys_read (int fhdl, char *buf, size_t count)
{
(void) fhdl;
+ (void) buf;
+ (void) count;
return 0;
}