fixed initialization (memset instead of memcpy)

This commit is contained in:
tharexde 2020-12-07 20:31:27 +01:00
parent d9194e5109
commit d63d359c14

View file

@ -183,7 +183,7 @@ static bool get_signalproperties(void) {
uint8_t sample_max_mean = 0;
uint8_t sample_max[no_periods];
uint32_t sample_max_sum = 0;
memcpy(sample_max, 0x00, sizeof(sample_max));
memset(sample_max, 0x00, sizeof(sample_max));
LED_A_ON();