array init
This commit is contained in:
1 parent
bf24c2b01f
commit
480d5a3241
2 files changed
+3
-1
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user