From 064b89207fe8fa90058609e8f497ce5f1526884e Mon Sep 17 00:00:00 2001 From: WantClue Date: Tue, 13 Aug 2024 22:32:11 +0200 Subject: [PATCH] fix memset buf --- components/bm1397/serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bm1397/serial.c b/components/bm1397/serial.c index 750411a62..814f72ccc 100644 --- a/components/bm1397/serial.c +++ b/components/bm1397/serial.c @@ -94,7 +94,7 @@ void SERIAL_debug_rx(void) return; } - memset(buf, 0, 1024); + memset(buf, 0, 100); } void SERIAL_clear_buffer(void)