Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of COM_MNG_TMTC_SIMPLE by
Diff: adf.h
- Revision:
- 133:56d37aa8a011
- Parent:
- 96:4ca92f9775e0
--- a/adf.h Fri Feb 26 13:01:11 2016 +0000
+++ b/adf.h Tue Mar 01 12:35:49 2016 +0000
@@ -214,16 +214,20 @@
spi.write(0x18);\
spi.write(0x20);\
for(unsigned char i=0; i<112;i++){\
- spi.write(buffer_112[i]);\
- /*gPC.printf("0x%X,",spi.write(buffer_112[i]));*/\
+ if(bypass_adf)\
+ gPC.putc(buffer_112[i]);\
+ else\
+ spi.write(buffer_112[i]);\
}\
}\
else{\
spi.write(0x18);\
spi.write(0x90);\
for(unsigned char i=0; i<112;i++){\
- spi.write(buffer_112[i]);\
- /*gPC.printf("0x%X,",spi.write(buffer_112[i]));*/\
+ if(bypass_adf)\
+ gPC.putc(buffer_112[i]);\
+ else\
+ spi.write(buffer_112[i]);\
}\
}\
gCS_ADF=1;\
