Skip to content

Commit 600b480

Browse files
committed
fixN
1 parent 34a2d1d commit 600b480

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firmware/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ if(FLASH_MB_SIZE LESS FLASH_MB_LIMIT_SIZE)
3939
message(FATAL_ERROR "Error: The supported flash size is lower than the generated flash file. Build halted.")
4040
endif()
4141

42-
if(NOT DEFINED FLASH_MB_SIZE)
42+
if(NOT DEFINED FLASH_BYTES_SIZE)
4343
math(EXPR FLASH_BYTES_SIZE "${FLASH_MB_SIZE} * 1024 * 1024")
4444
endif()
45-
if(NOT DEFINED FLASH_MB_LIMIT_SIZE)
45+
if(NOT DEFINED FLASH_BYTES_LIMIT_SIZE)
4646
math(EXPR FLASH_BYTES_LIMIT_SIZE "${FLASH_MB_LIMIT_SIZE} * 1024 * 1024")
4747
endif()
4848

0 commit comments

Comments
 (0)