publishing to check changes in cdms code
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE_samp_23SEP_DMA_flag by
Diff: ThreadsAndFunctions.h
- Revision:
- 175:e869e7837978
- Parent:
- 174:44a6d7c7674c
- Child:
- 177:2fa8582896e0
diff -r 44a6d7c7674c -r e869e7837978 ThreadsAndFunctions.h --- a/ThreadsAndFunctions.h Fri Apr 22 11:27:33 2016 +0000 +++ b/ThreadsAndFunctions.h Fri Apr 22 11:52:54 2016 +0000 @@ -18,7 +18,8 @@ gPAY_SPI.format(8,0); gPAY_SPI.bulkRead_init(gPAYLOAD_BUFFER, PAYLOAD_BUFFER_LENGTH, &payload_isr_fun); gPAY_SPI.bulkRead_start(); - + gPAY_SPI.bulkRead_end(); + Init_gPAY_SPI; while(true){ gPC.puts("entering sci\r\n"); @@ -27,6 +28,7 @@ srp(gPAYLOAD_BUFFER); gPC.puts("exit_srp\r\n"); gPAY_SPI.bulkRead_start(); + } }