From 98643fae928827240c273a4184d93d03d17dde63 Mon Sep 17 00:00:00 2001 From: Brett Nicholas <7547222+bigbrett@users.noreply.github.com> Date: Wed, 10 Apr 2024 13:51:27 -0600 Subject: [PATCH] NF_OBJECT_COUNT now parameterized by WOLFHSM_NUM_NVMOBJECTS --- wolfhsm/wh_nvm_flash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfhsm/wh_nvm_flash.h b/wolfhsm/wh_nvm_flash.h index ebc05514..d775a0b8 100644 --- a/wolfhsm/wh_nvm_flash.h +++ b/wolfhsm/wh_nvm_flash.h @@ -15,7 +15,7 @@ #include "wolfhsm/wh_flash_unit.h" /* Number of objects in a directory */ -#define NF_OBJECT_COUNT 32 +#define NF_OBJECT_COUNT (WOLFHSM_NUM_NVMOBJECTS) /* In-memory computed status of an Object or Directory */ typedef enum {