aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2017-05-01 15:38:23 -0400
committerPaul Selkirk <paul@psgd.org>2017-05-01 15:38:23 -0400
commit716694ae77259e31526a6d64db867ced5c231ced (patch)
tree507090c0caaddba71d8307e9e68d21e1c9bfad11
parent1ac75ba3d15f9b22966accbe6bd9793953396fc5 (diff)
Remove bogus counting-loop version of HAL_Delay.
-rw-r--r--stm-sdram.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stm-sdram.c b/stm-sdram.c
index 8648d47..58773e9 100644
--- a/stm-sdram.c
+++ b/stm-sdram.c
@@ -201,8 +201,6 @@ static HAL_StatusTypeDef _sdram_init_params(SDRAM_HandleTypeDef *sdram1, SDRAM_H
HAL_StatusTypeDef ok; // status
FMC_SDRAM_CommandTypeDef cmd; // command
-#define HAL_Delay(n) for (int i = 0; i < 1000 * n; ++i)
-
/*
* enable clocking
*/