From 608c79a207118c0f30e7194f1aca51c2945efbe4 Mon Sep 17 00:00:00 2001 From: Alexander Zilberkant Date: Mon, 14 Jan 2019 15:39:32 +0200 Subject: [PATCH] Remove TARGET prefix from the TARGET_BYPASS_NVSTORE_CHECK and leave it as BYPASS_NVSTORE_CHECK --- features/storage/kvstore/tdbstore/TDBStore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/storage/kvstore/tdbstore/TDBStore.cpp b/features/storage/kvstore/tdbstore/TDBStore.cpp index a9877fb075..0ab8dcecb3 100644 --- a/features/storage/kvstore/tdbstore/TDBStore.cpp +++ b/features/storage/kvstore/tdbstore/TDBStore.cpp @@ -25,7 +25,7 @@ #include "mbed_wait_api.h" #include "MbedCRC.h" //Bypass the check of NVStore co existance if compiled for TARGET_TFM -#if !(TARGET_BYPASS_NVSTORE_CHECK) +#if !(BYPASS_NVSTORE_CHECK) #include "SystemStorage.h" #endif @@ -994,7 +994,7 @@ int TDBStore::init() } //Bypass the check of NVStore co existance if compiled for TARGET_TFM -#if !(TARGET_BYPASS_NVSTORE_CHECK) +#if !(BYPASS_NVSTORE_CHECK) //Check if we are on internal memory && try to set the internal memory for TDBStore use. if (strcmp(_bd->get_type(), "FLASHIAP") == 0 &&