Simple version of COM_MNG_TMTC_CODE for IITMSAT.
Dependencies: mbed-rtos mbed FreescaleIAP SimpleDMA
Diff: adf.h
- Revision:
- 86:a26f5f22631d
- Parent:
- 69:20f09a0c3fd2
- Child:
- 88:b9beee1a7a3e
--- a/adf.h Wed Jan 20 15:00:28 2016 +0000 +++ b/adf.h Wed Jan 20 16:40:28 2016 +0000 @@ -317,19 +317,19 @@ }\ } -void read_TC(Base_tc* TC_ptr){ - //gPC.puts("Inside sd card sending\r\n"); - unsigned char service_subtype = 0; - uint64_t starting_add = 0, ending_add = 0; - service_subtype = (TC_ptr->TC_string[2])&0x0f; - starting_add = (TC_ptr->TC_string[5]) + ( (TC_ptr->TC_string[4])<<8 ) + ( (TC_ptr->TC_string[3]) <<16); - ending_add = (TC_ptr->TC_string[8]) + ( (TC_ptr->TC_string[7])<<8 ) + ( (TC_ptr->TC_string[6]) <<16); - starting_add = 10; // for now - ending_add = 20; -// adf_SND_SDCard(starting_add , ending_add); - //gPC.puts("sending from sd card\r\n"); - adf_SND_SDCard; -} +//void read_TC(Base_tc* TC_ptr){ +// //gPC.puts("Inside sd card sending\r\n"); +// unsigned char service_subtype = 0; +// uint64_t starting_add = 0, ending_add = 0; +// service_subtype = (TC_ptr->TC_string[2])&0x0f; +// starting_add = (TC_ptr->TC_string[5]) + ( (TC_ptr->TC_string[4])<<8 ) + ( (TC_ptr->TC_string[3]) <<16); +// ending_add = (TC_ptr->TC_string[8]) + ( (TC_ptr->TC_string[7])<<8 ) + ( (TC_ptr->TC_string[6]) <<16); +// starting_add = 10; // for now +// ending_add = 20; +//// adf_SND_SDCard(starting_add , ending_add); +// //gPC.puts("sending from sd card\r\n"); +// adf_SND_SDCard; +//} #define configure_adf {\ finish_write_data = false;\