From 8878d1fd101385180cffaf62a71c8ef3eefc5e2e Mon Sep 17 00:00:00 2001 From: hasslesstech Date: Thu, 13 Mar 2025 20:26:59 +0200 Subject: [PATCH] [MP45DT02] hotfix: remove memset() operation used during debugging --- Core/Src/MP45DT02.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Core/Src/MP45DT02.c b/Core/Src/MP45DT02.c index 1320da1..3f4fe0f 100644 --- a/Core/Src/MP45DT02.c +++ b/Core/Src/MP45DT02.c @@ -1,4 +1,3 @@ -#include "memory.h" #include "main.h" #include "MP45DT02.h" #include "lcd.h" @@ -14,8 +13,6 @@ void MP45DT02_run_test(void) uint16_t sample_buffer[SAMPLE_AMOUNT]; - memset(sample_buffer, 0, 2 * SAMPLE_AMOUNT); - for (size_t t = 0; t < 5; t++) { HAL_I2S_Receive(&hi2s2, sample_buffer, SAMPLE_AMOUNT, 1000);