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 eeprom mbed-rtos mbed
Fork of CDMS_QM_03MAR2017_Flash_with_obsrs by
Diff: Compression.h
- Revision:
- 309:6ed5535ac465
- Parent:
- 308:7c3872365d58
- Child:
- 313:5d06a08baf0e
--- a/Compression.h Sun Oct 09 07:08:34 2016 +0000
+++ b/Compression.h Tue Nov 01 07:18:59 2016 +0000
@@ -132,7 +132,10 @@
void srp(uint8_t * head)
{
uint8_t sd_stat = 0;
- gPC.printf("\n\rsrp");
+ SCI_LED1 =1;
+
+ // SCI_LED1 = !SCI_LED1;
+ // gPC.printf("\n\rsrp");
debug_cntr = 0;
sci_time = FCTN_CDMS_RD_RTC();
#if debug_time
@@ -141,7 +144,7 @@
if(time_prev_scp==0){
time_prev_scp = sci_time;
}
- //FCTN_SD_MNGR(); ///changed recently
+ FCTN_SD_MNGR(); ///changed recently
for (int i = 0; i < 52 ; i++)
{
scp_bin[i] = 0;
@@ -151,14 +154,14 @@
for(uint8_t counter = 0 ; counter < 60 ; counter++)
{
#if srpz
- gPC.printf("\n\n\rSRP count:%d",counter+1);
+ // gPC.printf("\n\n\rSRP count:%d",counter+1);
#endif
/*-------------------- ------------populating sfp_bin and scp_bin[] starts here(also tag AT or BT)-----------------------*/
at = 0; pzf = 1; ezf = 1;
if(srp_mode == 0) //calibrated mode
{
#if srpz
- gPC.printf("\n\rSRP - Calibrated Mode");
+ // gPC.printf("\n\rSRP - Calibrated Mode");
#endif
for(int i=0; i<48 ; i++) //first 48 bins or SRP are of 16 bits size
{
@@ -1272,4 +1275,8 @@
#endif
gPC.printf("fsc = %u, %u,%u\n\r", FSC_CURRENT[1],FSC_CURRENT[2],FSC_CURRENT[3]);
//gPC.printf("\n\rEndSRP");
+ // SCI_LED1 = !SCI_LED1;
+ SCI_LED1 = 0;
+
+
}
\ No newline at end of file
