aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/serirq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/serirq.c b/core/serirq.c
index e230b98d..22370b9c 100644
--- a/core/serirq.c
+++ b/core/serirq.c
@@ -200,5 +200,5 @@ __export void sirq_cleanup_nowipe(void)
void sirq_cleanup(void)
{
sirq_cleanup_nowipe();
- memcpy(SerialHead, 0x0, serial_buf_size);
+ memset(SerialHead, 0x0, serial_buf_size);
}