[Cryptech-Commits] [sw/stm32] 03/03: Remove bogus counting-loop version of HAL_Delay.

git at cryptech.is git at cryptech.is
Mon May 1 19:39:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a commit to branch no-rtos
in repository sw/stm32.

commit 716694ae77259e31526a6d64db867ced5c231ced
Author: Paul Selkirk <paul at psgd.org>
AuthorDate: Mon May 1 15:38:23 2017 -0400

    Remove bogus counting-loop version of HAL_Delay.
---
 stm-sdram.c | 2 --
 1 file changed, 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
      */



More information about the Commits mailing list