run on mbed-os6.6.0, wait_ms(Delay) ->thread_sleep_for(Delay) in stm32469i_discovery.c, stm32469i_discovery_lcd.c and stm32469i_discovery_sdram.c

Dependents:   DISCO-F469NI_BD_SD_Card_Control

Files at this revision

API Documentation at this revision

Comitter:
kenjiArai
Date:
Thu Jan 14 00:36:50 2021 +0000
Parent:
4:88f90da43bb2
Commit message:
wait_ms(Delay) ->thread_sleep_for(Delay) in stm32469i_discovery.c, stm32469i_discovery_lcd.c and stm32469i_discovery_sdram.c

Changed in this revision

Drivers/BSP/STM32469I-Discovery/stm32469i_discovery.c Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32469I-Discovery/stm32469i_discovery_lcd.c Show annotated file Show diff for this revision Revisions of this file
Drivers/BSP/STM32469I-Discovery/stm32469i_discovery_sdram.c Show annotated file Show diff for this revision Revisions of this file
--- a/Drivers/BSP/STM32469I-Discovery/stm32469i_discovery.c	Thu Jan 14 00:13:12 2021 +0000
+++ b/Drivers/BSP/STM32469I-Discovery/stm32469i_discovery.c	Thu Jan 14 00:36:50 2021 +0000
@@ -784,6 +784,7 @@
 {
   //HAL_Delay(Delay);
   //wait_ms(Delay);
+  
   thread_sleep_for(Delay);   // Jan 12th, 2021 by K.Arai
 }
 
@@ -905,6 +906,7 @@
 {
   //HAL_Delay(Delay);
   //wait_ms(Delay);
+  
   thread_sleep_for(Delay);   // Jan 12th, 2021 by K.Arai
 }
 
@@ -917,6 +919,7 @@
 {
   //HAL_Delay(Delay);
   //wait_ms(Delay);
+  
   thread_sleep_for(Delay);   // Jan 12th, 2021 by K.Arai
 }
 
--- a/Drivers/BSP/STM32469I-Discovery/stm32469i_discovery_lcd.c	Thu Jan 14 00:13:12 2021 +0000
+++ b/Drivers/BSP/STM32469I-Discovery/stm32469i_discovery_lcd.c	Thu Jan 14 00:36:50 2021 +0000
@@ -419,6 +419,7 @@
 
     //HAL_Delay(20); /* wait 20 ms */
     //wait_ms(20);
+    
     thread_sleep_for(20);   // Jan 12th, 2021 by K.Arai
   
     /* Desactivate XRES */
@@ -427,6 +428,7 @@
     /* Wait for 10ms after releasing XRES before sending commands */
     //HAL_Delay(10);
     //wait_ms(10);
+    
     thread_sleep_for(10);   // Jan 12th, 2021 by K.Arai   
 #else
   
--- a/Drivers/BSP/STM32469I-Discovery/stm32469i_discovery_sdram.c	Thu Jan 14 00:13:12 2021 +0000
+++ b/Drivers/BSP/STM32469I-Discovery/stm32469i_discovery_sdram.c	Thu Jan 14 00:36:50 2021 +0000
@@ -237,6 +237,7 @@
   /* Inserted delay is equal to 1 ms due to systick time base unit (ms) */
   //HAL_Delay(1);
   //wait_ms(1);
+  
   thread_sleep_for(1);   // Jan 12th, 2021 by K.Arai
 
   /* Step 3: Configure a PALL (precharge all) command */