array init

This commit is contained in:
iceman1001 committed 2024-05-14 11:26:16 +02:00
1 parent bf24c2b01f
commit 480d5a3241
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -530,7 +530,7 @@ static int CmdLFNedapSim(const char *Cmd) {
uint8_t data[16];
NedapGen(sub_type, customer_code, id, is_long, data);
uint8_t bs[16 * 8];
uint8_t bs[16 * 8] = {0};
for (uint8_t i = 0; i < max; i++) {
num_to_bytebits(data[i], 8, bs + i * 8);
}