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: mbed mbed-rtos SimpleDMA FreescaleIAP eeprom
Fork of CDMS_CODE_FM_28JAN2017 by
Diff: CDMS_PL.h
- Revision:
- 308:7c3872365d58
- Parent:
- 303:b49b486a7107
- Child:
- 342:77b0d59897f7
diff -r beb148fe97dc -r 7c3872365d58 CDMS_PL.h
--- a/CDMS_PL.h Sat Sep 10 07:06:59 2016 +0000
+++ b/CDMS_PL.h Sun Oct 09 07:08:34 2016 +0000
@@ -169,7 +169,7 @@
temp2[0] = (pl_main_flag&STATE_SCIENCE)>>2;
temp2[1] = (pl_main_flag&PL_DISABLED)>>4;
temp2[2] = (PL_PREV_STATE & STATE_SCIENCE)>>2;
- gPC.printf("\n\rAt exit");
+ //gPC.printf("\n\rAt exit");
char state[][17] = {"STATE_OFF","STATE_STANDBY","STATE_HIBERNATE","STATE_SCIENCE"};
char status[][17] = {"PL_OFF","PL_STANDBY","PL_HIBERNATE","PL_SCIENCE","PL_SUCCESS_I2C","PL_ERR_I2C","PL_INVALID_STATE","PL_DISABLED"};
//gPC.printf("\n\rPL_state:%s -> %s",state[(uint8_t)temp[0]],state[(uint8_t)temp2[0]]);
@@ -348,7 +348,7 @@
if(pl_time!=0) //RTC read successful
{
// run the loop until end of schedule is reached or month and day are both zeros or future block is found
- gPC.printf("\n\rRTC read success");
+ //gPC.printf("\n\rRTC read success");
for(i=0;(i<192)&&(((uint16_t)((pl_block[i] & 0x3FE00000)>>21))!=0);i++)
{
if(((pl_block[i]>>4) & 0x0FFFFFFF)>pl_time) //Checking for future blocks
@@ -428,7 +428,7 @@
}
else if((pl_block[pl_next_index-1] & UNEXECUTED)==0)
{
- gPC.printf("\n\rEmpty Schedule Block");
+ //gPC.printf("\n\rEmpty Schedule Block");
pl_main_flag = pl_main_flag & (~PL_MAIN_STATUS); //Clearing pl_main status
PL_MAIN_status = 0;
print_exit(temp);
