From 1144379874eb800966df7b1bcc859525c9795d4b Mon Sep 17 00:00:00 2001 From: Jim Lyall Date: Tue, 13 Apr 2021 08:54:25 +0200 Subject: [PATCH] Change error return to allow default values to be used --- src/platform/qpg6100/qpg6100Config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/qpg6100/qpg6100Config.cpp b/src/platform/qpg6100/qpg6100Config.cpp index 0eea05b2e561c7..dc8dae949cadab 100644 --- a/src/platform/qpg6100/qpg6100Config.cpp +++ b/src/platform/qpg6100/qpg6100Config.cpp @@ -268,7 +268,7 @@ CHIP_ERROR QPG6100Config::MapNVMError(qvStatus_t aStatus) case QV_STATUS_KEY_LEN_TOO_SMALL: return CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND; case QV_STATUS_INVALID_DATA: - return CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND; + return CHIP_DEVICE_ERROR_CONFIG_NOT_FOUND; default: break; }