DMA issue to be tested
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: RESET_functions.h
- Revision:
- 289:9bd62b69874c
- Parent:
- 257:7d404e9dc9e2
diff -r aa93d6652381 -r 9bd62b69874c RESET_functions.h --- a/RESET_functions.h Fri Aug 05 17:13:23 2016 +0000 +++ b/RESET_functions.h Sat Aug 06 06:34:38 2016 +0000 @@ -4,6 +4,7 @@ void RESET_COMRX() { + gPC.printf("\r COM RX resetting\n"); COM_RX_CNTRL = 0; wait_ms(10); COM_RX_CNTRL =1; @@ -11,7 +12,7 @@ void RESET_RTC() { - SPI_mutex.lock(); + gPC.printf("Resetting RTC"); gCS_RTC=1; gCS_RTC=0; spi.write(0x81); //register address with write flag @@ -34,5 +35,4 @@ gCS_RTC=0; spi.write(0x8F); spi.write(0x00); - SPI_mutex.unlock(); } \ No newline at end of file