Projet

Dependents:   DISCO-F746NG_Scope_copy

Fork of BSP_DISCO_F746NG by ST

Revision:
5:5a395e126678
Parent:
0:c9112f0c67e3
--- a/stm32746g_discovery_sdram.c	Wed Nov 09 18:04:44 2016 +0100
+++ b/stm32746g_discovery_sdram.c	Wed Nov 09 18:26:13 2016 +0100
@@ -78,8 +78,7 @@
 /* Includes ------------------------------------------------------------------*/
 #include "stm32746g_discovery_sdram.h"
 
-// mbed function to replace HAL_Delay function
-void wait_ms(int ms);
+void wait_ms(int ms); // MBED to replace HAL_Delay function
 
 /** @addtogroup BSP
   * @{
@@ -229,8 +228,8 @@
 
   /* Step 2: Insert 100 us minimum delay */ 
   /* Inserted delay is equal to 1 ms due to systick time base unit (ms) */
-  //HAL_Delay(1);
-  wait_ms(1);
+  //HAL_Delay(1); // MBED
+  wait_ms(1); // MBED
     
   /* Step 3: Configure a PALL (precharge all) command */ 
   Command.CommandMode            = FMC_SDRAM_CMD_PALL;