Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
avtolstoy committed Nov 4, 2021
1 parent df7fdd1 commit 17b6755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hal/src/nRF52840/ota_flash_hal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ int HAL_System_Info(hal_system_info_t* info, bool construct, void* reserved)
}
bool valid = fetch_module(module, bounds, false, MODULE_VALIDATION_INTEGRITY);
valid = valid && (module->validity_checked == module->validity_result);
if (bounds->module_function == MODULE_FUNCTION_USER_PART) {
if (bounds->store == MODULE_STORE_MAIN && bounds->module_function == MODULE_FUNCTION_USER_PART) {
if (valid) {
user_module_found = true;
} else {
Expand Down

0 comments on commit 17b6755

Please sign in to comment.