Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force status refresh on target and action request #132

Merged

Conversation

StephaneTriomphe
Copy link
Contributor

No description provided.

@StephaneTriomphe StephaneTriomphe added the bug Something isn't working label Feb 3, 2025
@@ -1058,7 +1058,7 @@ app_proto_res_e Proto_config_handle_set_scratchpad_target_and_action_request(
param);

// Read otap variable back to be sure everything is updated
initialize_otap_variables();
Proto_config_refresh_otap_infos();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be moved in the else of the if (res != APP_RES_OK) ?

Value is changed only if APP_RES8OK is returned. ANd it would allow to call Proto_config_refresh_otap_infos only one time

@StephaneTriomphe StephaneTriomphe force-pushed the fix/refresh_status_on_target_and_action_request branch from ef973f6 to efe48be Compare February 3, 2025 13:30
@GwendalRaoul GwendalRaoul self-requested a review February 3, 2025 13:31
@StephaneTriomphe StephaneTriomphe merged commit fc94c51 into master Feb 3, 2025
3 checks passed
@StephaneTriomphe StephaneTriomphe deleted the fix/refresh_status_on_target_and_action_request branch February 3, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants