CDMS_CODE_samp_23SEP_DMA_flag

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE_samp_23SEP_DMA by iitm sat

Revision:
253:fd6696d91e74
Parent:
245:da9d1bd999da
Child:
257:7d404e9dc9e2
diff -r 9c631b2f5da8 -r fd6696d91e74 RESET_functions.h
--- a/RESET_functions.h	Tue Jul 12 05:35:21 2016 +0000
+++ b/RESET_functions.h	Tue Jul 12 10:01:32 2016 +0000
@@ -10,18 +10,18 @@
 }
 
 void RESET_RTC()
-{
+{   
     gCS_RTC=1;
     gCS_RTC=0;
     spi.write(0x81); //register address with write flag
     spi.write(0x80);//enabling stop bit in the seconds register
- 
+
     gCS_RTC=1;
     gCS_RTC=0;
     spi.write(0x81);
     spi.write(0x00);//disabling the stop bit to restart the oscillator 
 
-    wait(4000);
+    wait_ms(4000);
     //clearing the halt bit 
     gCS_RTC=1;
     gCS_RTC=0;