From f5b812a2e765258c21691e84aafd446089618f62 Mon Sep 17 00:00:00 2001 From: barthess Date: Fri, 8 May 2015 00:04:09 +0300 Subject: NAND. Minor improvements --- testhal/STM32/STM32F4xx/FSMC_NAND/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'testhal/STM32/STM32F4xx') diff --git a/testhal/STM32/STM32F4xx/FSMC_NAND/main.c b/testhal/STM32/STM32F4xx/FSMC_NAND/main.c index 7df235e..2379a12 100644 --- a/testhal/STM32/STM32F4xx/FSMC_NAND/main.c +++ b/testhal/STM32/STM32F4xx/FSMC_NAND/main.c @@ -139,7 +139,6 @@ static bitmap_t badblock_map = { * */ static const NANDConfig nandcfg = { - //&FSMCD1, NAND_BLOCKS_COUNT, NAND_PAGE_DATA_SIZE, NAND_PAGE_SPARE_SIZE, @@ -643,7 +642,7 @@ int main(void) { /* * Normal main() thread activity, in this demo it does nothing. */ - while (TRUE) { + while (true) { chThdSleepMilliseconds(500); } } -- cgit v1.2.3