summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-10-26 22:48:01 +0700
committerhathach <[email protected]>2021-10-26 22:48:01 +0700
commitbb5dab5c2e81be277214a6704a8d90e89a5b4759 (patch)
treeb3aa054b11b2e6a5e6de8365eb1655fe1bbdcc96 /hw
parent68fa9d406495410914b55c50984d5a1b821ee80c (diff)
add hw config struct
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/board.c b/hw/bsp/board.c
index 2c18b61b4..afacdef9f 100644
--- a/hw/bsp/board.c
+++ b/hw/bsp/board.c
@@ -96,7 +96,7 @@ void board_led_task(void)
TU_ATTR_USED int sys_write (int fhdl, const void *buf, size_t count)
{
(void) fhdl;
- SEGGER_RTT_Write(0, (char*) buf, (int) count);
+ SEGGER_RTT_Write(0, (const char*) buf, (int) count);
return count;
}