Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLafleur committed Jan 16, 2025
1 parent e0f4eb3 commit 6f9bfd5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions components/shared/code/libs/LIB_nvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,11 @@ typedef struct
{
lib_nvm_entry_t entryId;
storage_t entry_version;
lib_nvm_crc_t crc;
storage_t initialized;
#if FEATURE_IS_ENABLED(NVM_FLASH_BACKED)
uint8_t entrySize;
#endif
lib_nvm_crc_t crc;
storage_t initialized;
storage_t discarded;
} LIB_NVM_STORAGE(lib_nvm_recordHeader_S);

Expand Down Expand Up @@ -253,6 +256,8 @@ void lib_nvm_init(void)

initializeEmptyRecords();
}
#else
#error "No NVM implementation supported"
#endif

cycleLog.totalCycles++;
Expand Down

0 comments on commit 6f9bfd5

Please sign in to comment.