You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2021/03/01 15:15:23 UTC
[GitHub] [mynewt-core] mlaz commented on a change in pull request #2512: Fixes to Kinetis/K8x port
mlaz commented on a change in pull request #2512:
URL: https://github.com/apache/mynewt-core/pull/2512#discussion_r584794029
##########
File path: hw/mcu/nxp/src/ext/nxp-kinetis-sdk/drivers/fsl_ftfx_controller.c
##########
@@ -516,7 +517,9 @@ status_t FTFx_CMD_Program(ftfx_config_t *config, uint32_t start, const uint8_t *
}
/* calling flash command sequence function to execute the command */
+ OS_ENTER_CRITICAL(sr);
returnCode = ftfx_command_sequence(config);
+ OS_EXIT_CRITICAL(sr);
Review comment:
I would suggest to move this file somewhere else so we don't have to maintain changes to this when we update the SDK.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org