aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_NAND
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2015-05-08 00:04:09 +0300
committerbarthess <barthess@yandex.ru>2015-05-08 00:04:09 +0300
commitf5b812a2e765258c21691e84aafd446089618f62 (patch)
treeee87e6d014fecfee0522db1b149cae05458db13a /testhal/STM32/STM32F4xx/FSMC_NAND
parentdd7d31d083981094e68d68d3c3696530a5eb5885 (diff)
downloadChibiOS-Contrib-f5b812a2e765258c21691e84aafd446089618f62.tar.gz
ChibiOS-Contrib-f5b812a2e765258c21691e84aafd446089618f62.tar.bz2
ChibiOS-Contrib-f5b812a2e765258c21691e84aafd446089618f62.zip
NAND. Minor improvements
Diffstat (limited to 'testhal/STM32/STM32F4xx/FSMC_NAND')
-rw-r--r--testhal/STM32/STM32F4xx/FSMC_NAND/main.c3
1 files changed, 1 insertions, 2 deletions
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);
}
}