mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-08-09 07:02:20 -04:00
fw: Initialize arrays in partition_table.c
This commit is contained in:
parent
648b0e91c8
commit
bc8efe03e7
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ int part_table_read(struct partition_table_storage *storage)
|
||||||
ADDR_PARTITION_TABLE_0,
|
ADDR_PARTITION_TABLE_0,
|
||||||
ADDR_PARTITION_TABLE_1,
|
ADDR_PARTITION_TABLE_1,
|
||||||
};
|
};
|
||||||
uint8_t check_digest[PART_DIGEST_SIZE];
|
uint8_t check_digest[PART_DIGEST_SIZE] = {0};
|
||||||
|
|
||||||
if (storage == NULL) {
|
if (storage == NULL) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue