[MP45DT02] hotfix: remove memset() operation used during debugging
This commit is contained in:
parent
3300c5eebd
commit
8878d1fd10
|
@ -1,4 +1,3 @@
|
||||||
#include "memory.h"
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "MP45DT02.h"
|
#include "MP45DT02.h"
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
|
@ -14,8 +13,6 @@ void MP45DT02_run_test(void)
|
||||||
|
|
||||||
uint16_t sample_buffer[SAMPLE_AMOUNT];
|
uint16_t sample_buffer[SAMPLE_AMOUNT];
|
||||||
|
|
||||||
memset(sample_buffer, 0, 2 * SAMPLE_AMOUNT);
|
|
||||||
|
|
||||||
for (size_t t = 0; t < 5; t++) {
|
for (size_t t = 0; t < 5; t++) {
|
||||||
HAL_I2S_Receive(&hi2s2, sample_buffer, SAMPLE_AMOUNT, 1000);
|
HAL_I2S_Receive(&hi2s2, sample_buffer, SAMPLE_AMOUNT, 1000);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue