Skip to content

Commit 6eadbd6

Browse files
author
Scott Larson
committed
update to v6.1.3
1 parent f11f115 commit 6eadbd6

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

common/inc/lx_api.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/* APPLICATION INTERFACE DEFINITION RELEASE */
2727
/* */
2828
/* lx_api.h PORTABLE C */
29-
/* 6.1.2 */
29+
/* 6.1.3 */
3030
/* AUTHOR */
3131
/* */
3232
/* William E. Lamie, Microsoft Corporation */
@@ -49,6 +49,9 @@
4949
/* added support for lx_user.h */
5050
/* so user can specify values, */
5151
/* resulting in version 6.1.2 */
52+
/* 12-31-2020 William E. Lamie Modified comment(s), and */
53+
/* updated product constants, */
54+
/* resulting in version 6.1.3 */
5255
/* */
5356
/**************************************************************************/
5457

@@ -92,7 +95,7 @@ extern "C" {
9295
#define AZURE_RTOS_LEVELX
9396
#define LEVELX_MAJOR_VERSION 6
9497
#define LEVELX_MINOR_VERSION 1
95-
#define LEVELX_PATCH_VERSION 2
98+
#define LEVELX_PATCH_VERSION 3
9699

97100

98101
/* Define general LevelX Constants. */

common/src/lx_nor_flash_extended_cache_enable.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
/* FUNCTION RELEASE */
4141
/* */
4242
/* _lx_nor_flash_extended_cache_enable PORTABLE C */
43-
/* 6.1 */
43+
/* 6.1.3 */
4444
/* AUTHOR */
4545
/* */
4646
/* William E. Lamie, Microsoft Corporation */
@@ -74,6 +74,9 @@
7474
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
7575
/* 09-30-2020 William E. Lamie Modified comment(s), */
7676
/* resulting in version 6.1 */
77+
/* 12-31-2020 William E. Lamie Modified comment(s), */
78+
/* fixed compiler warnings, */
79+
/* resulting in version 6.1.3 */
7780
/* */
7881
/**************************************************************************/
7982
UINT _lx_nor_flash_extended_cache_enable(LX_NOR_FLASH *nor_flash, VOID *memory, ULONG size)
@@ -141,6 +144,10 @@ ULONG *cache_memory;
141144
return(LX_SUCCESS);
142145
#else
143146

147+
LX_PARAMETER_NOT_USED(nor_flash);
148+
LX_PARAMETER_NOT_USED(memory);
149+
LX_PARAMETER_NOT_USED(size);
150+
144151
/* Return disabled error message. */
145152
return(LX_DISABLED);
146153
#endif

common/src/lx_nor_flash_open.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
/* FUNCTION RELEASE */
4141
/* */
4242
/* _lx_nor_flash_open PORTABLE C */
43-
/* 6.1.2 */
43+
/* 6.1.3 */
4444
/* AUTHOR */
4545
/* */
4646
/* William E. Lamie, Microsoft Corporation */
@@ -86,6 +86,9 @@
8686
/* 11-09-2020 William E. Lamie Modified comment(s), */
8787
/* fixed compiler warnings, */
8888
/* resulting in version 6.1.2 */
89+
/* 12-30-2020 William E. Lamie Modified comment(s), */
90+
/* fixed compiler warnings, */
91+
/* resulting in version 6.1.3 */
8992
/* */
9093
/**************************************************************************/
9194
UINT _lx_nor_flash_open(LX_NOR_FLASH *nor_flash, CHAR *name, UINT (*nor_driver_initialize)(LX_NOR_FLASH *))
@@ -751,7 +754,7 @@ TX_INTERRUPT_SAVE_AREA
751754
/* Read the word directly. */
752755
sector_word = *(sector_word_ptr);
753756
#else
754-
status = _lx_nor_flash_driver_read((sector_word_ptr), &sector_word, 1);
757+
status = _lx_nor_flash_driver_read(nor_flash, (sector_word_ptr), &sector_word, 1);
755758

756759
/* Check for an error from flash driver. Drivers should never return an error.. */
757760
if (status)

0 commit comments

Comments
 (0)