Skip to content

Commit 61f92c0

Browse files
committed
Release 6.1.8
1 parent d4089f5 commit 61f92c0

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
22

33
# Set up the project
44
project(levelx
5-
VERSION 6.0.0
65
LANGUAGES C ASM
76
)
87

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.7 */
29+
/* 6.1.8 */
3030
/* AUTHOR */
3131
/* */
3232
/* William E. Lamie, Microsoft Corporation */
@@ -55,6 +55,9 @@
5555
/* 06-02-2021 Bhupendra Naphade Modified comment(s), */
5656
/* added standalone support, */
5757
/* resulting in version 6.1.7 */
58+
/* 08-02-2021 William E. Lamie Modified comment(s), and */
59+
/* updated product constants, */
60+
/* resulting in version 6.1.8 */
5861
/* */
5962
/**************************************************************************/
6063

@@ -159,7 +162,7 @@ typedef unsigned long long ULONG64;
159162
#define AZURE_RTOS_LEVELX
160163
#define LEVELX_MAJOR_VERSION 6
161164
#define LEVELX_MINOR_VERSION 1
162-
#define LEVELX_PATCH_VERSION 7
165+
#define LEVELX_PATCH_VERSION 8
163166

164167

165168
/* Define general LevelX Constants. */

common/src/lx_nand_flash_block_reclaim.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_nand_flash_block_reclaim PORTABLE C */
43-
/* 6.1.7 */
43+
/* 6.1.8 */
4444
/* AUTHOR */
4545
/* */
4646
/* William E. Lamie, Microsoft Corporation */
@@ -88,6 +88,9 @@
8888
/* resulting in version 6.1 */
8989
/* 06-02-2021 Bhupendra Naphade Modified comment(s), */
9090
/* resulting in version 6.1.7 */
91+
/* 08-02-2021 Bhupendra Naphade Modified comment(s), updated */
92+
/* obselete page count check, */
93+
/* resulting in version 6.1.8 */
9194
/* */
9295
/**************************************************************************/
9396
UINT _lx_nand_flash_block_reclaim(LX_NAND_FLASH *nand_flash)
@@ -131,7 +134,7 @@ UINT status;
131134
}
132135

133136
/* Determine if this block is completely obsolete. */
134-
if (obsolete_pages == nand_flash -> lx_nand_flash_pages_per_block)
137+
if (obsolete_pages == nand_flash -> lx_nand_flash_pages_per_block - 1)
135138
{
136139

137140
/* Read page 0 of the block, which has the erase count in the first 4 bytes. */

0 commit comments

Comments
 (0)