Jelajahi Sumber

Merge pull request #1222 from scoudreau/swo_logger

Remove unused-parameter errors when LOGGER=swo
Ha Thach 4 tahun lalu
induk
melakukan
cde824f17f
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      hw/bsp/board.c

+ 2 - 0
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;
 }