mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-08 01:06:37 +08:00
fixed initialization (memset instead of memcpy)
This commit is contained in:
parent
d9194e5109
commit
d63d359c14
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ static bool get_signalproperties(void) {
|
||||||
uint8_t sample_max_mean = 0;
|
uint8_t sample_max_mean = 0;
|
||||||
uint8_t sample_max[no_periods];
|
uint8_t sample_max[no_periods];
|
||||||
uint32_t sample_max_sum = 0;
|
uint32_t sample_max_sum = 0;
|
||||||
memcpy(sample_max, 0x00, sizeof(sample_max));
|
memset(sample_max, 0x00, sizeof(sample_max));
|
||||||
|
|
||||||
LED_A_ON();
|
LED_A_ON();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue