
Compression code changed and RLY_TMTC pointers managed
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: adf.h
- Revision:
- 55:39e59903bc3a
- Parent:
- 53:18db568f1098
- Child:
- 61:15a5dfe84945
--- a/adf.h Thu Jan 14 13:26:40 2016 +0000 +++ b/adf.h Thu Jan 14 15:00:25 2016 +0000 @@ -109,11 +109,11 @@ else{\ hardware_reset(0);\ hw_reset_err_cnt++;\ - gPC.puts("Resetting hardware\r\n");\ + /*gPC.puts("Resetting hardware\r\n");*/\ }\ }\ if( flag == false ){\ - gPC.puts("Seems to be SPI problem\r\n");\ + /*gPC.puts("Seems to be SPI problem\r\n");*/\ }\ assrt_phy_off(tempReturn);\ if(!bbram_flag){\ @@ -232,7 +232,7 @@ buffer_state = !buffer_state;\ if(last_buffer){\ finish_write_data = true;\ - gPC.puts("adf_off\r\n");\ + /*gPC.puts("adf_off\r\n");*/\ }\ } @@ -307,7 +307,7 @@ spi.write(0xB1);\ gCS_ADF=1;\ SPI_mutex.unlock();\ - gPC.puts("transmission done\r\n");\ + /*gPC.puts("transmission done\r\n");*/\ loop_on = false;\ }else{\ write_data;\ @@ -318,7 +318,7 @@ } void read_TC(Base_tc* TC_ptr){ - gPC.puts("Inside sd card sending\r\n"); + //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; @@ -327,7 +327,7 @@ starting_add = 10; // for now ending_add = 20; // adf_SND_SDCard(starting_add , ending_add); - gPC.puts("sending from sd card\r\n"); + //gPC.puts("sending from sd card\r\n"); adf_SND_SDCard; } @@ -338,9 +338,9 @@ loop_on = true;\ ADF_off = false;\ initial_adf_check;\ - gPC.puts("initial adf check\r\n");\ + /*gPC.puts("initial adf check\r\n");*/\ initiate;\ - gPC.puts("adf configured\r\n");\ + /*gPC.puts("adf configured\r\n");*/\ gLEDR = !gLEDR;\ } @@ -360,7 +360,7 @@ gCS_ADF=1;\ SPI_mutex.unlock();\ loop_on = false;\ - gPC.puts("Transmission done\r\n");\ + /*gPC.puts("Transmission done\r\n");*/\ }\ else{\ ADF_off = true;\ @@ -371,5 +371,5 @@ }\ }\ }\ - gPC.puts("after while loop\r\n");\ + /*gPC.puts("after while loop\r\n");*/\ } \ No newline at end of file