Skip to content

Commit

Permalink
Change error return to allow default values to be used
Browse files Browse the repository at this point in the history
  • Loading branch information
jimlyall-q committed Apr 13, 2021
1 parent e047d27 commit 1144379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/qpg6100/qpg6100Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1144379

Please sign in to comment.