Release 6.1.7

This commit is contained in:
Bo Chen
2021-06-02 06:46:59 +00:00
parent d42808cdeb
commit d4089f56e3
56 changed files with 399 additions and 176 deletions
+8 -6
View File
@@ -25,8 +25,8 @@
/* Disable ThreadX error checking. */
#ifndef TX_DISABLE_ERROR_CHECKING
#define TX_DISABLE_ERROR_CHECKING
#ifndef LX_DISABLE_ERROR_CHECKING
#define LX_DISABLE_ERROR_CHECKING
#endif
@@ -40,7 +40,7 @@
/* FUNCTION RELEASE */
/* */
/* _lx_nor_flash_close PORTABLE C */
/* 6.1 */
/* 6.1.7 */
/* AUTHOR */
/* */
/* William E. Lamie, Microsoft Corporation */
@@ -72,16 +72,18 @@
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
/* 09-30-2020 William E. Lamie Modified comment(s), */
/* resulting in version 6.1 */
/* 06-02-2021 Bhupendra Naphade Modified comment(s), */
/* resulting in version 6.1.7 */
/* */
/**************************************************************************/
UINT _lx_nor_flash_close(LX_NOR_FLASH *nor_flash)
{
TX_INTERRUPT_SAVE_AREA
LX_INTERRUPT_SAVE_AREA
/* Lockout interrupts for NOR flash close. */
TX_DISABLE
LX_DISABLE
/* See if the media is the only one on the media opened list. */
if ((_lx_nor_flash_opened_ptr == nor_flash) &&
@@ -117,7 +119,7 @@ TX_INTERRUPT_SAVE_AREA
nor_flash -> lx_nor_flash_state = LX_NOR_FLASH_CLOSED;
/* Restore interrupt posture. */
TX_RESTORE
LX_RESTORE
#ifdef LX_THREAD_SAFE_ENABLE