CDMS code for testing sbc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Revision:
266:ae588e75cfa4
Parent:
258:7d404e9dc9e2
--- a/CDMS_PL.h	Thu Jul 14 23:05:09 2016 +0000
+++ b/CDMS_PL.h	Fri Jul 15 14:59:27 2016 +0000
@@ -67,7 +67,7 @@
     pl_tc_standby->TC_string[5] = 0;\
     pl_tc_standby->TC_string[6] = 0;\
     pl_tc_standby->TC_string[7] = 0;\
-    pl_tc_standby->TC_string[8] = 0;\    
+    pl_tc_standby->TC_string[8] = 0;\
     uint16_t crc16 = crc16_gen(pl_tc_standby->TC_string, 9);\
     pl_tc_standby->TC_string[9]  = (uint8_t)(crc16 & 0xFF00)>>8;\
     pl_tc_standby->TC_string[10] = (uint8_t)(crc16 & 0x00FF);\
@@ -80,7 +80,7 @@
     {\
         temp = temp->next_TM;\
         delete tm_ptr_standby;\
-        tm_ptr_standby = temp;\        
+        tm_ptr_standby = temp;\
     }\
 }
 
@@ -100,7 +100,7 @@
     pl_tc_hibernate->TC_string[5] = 0;\
     pl_tc_hibernate->TC_string[6] = 0;\
     pl_tc_hibernate->TC_string[7] = 0;\
-    pl_tc_hibernate->TC_string[8] = 0;\    
+    pl_tc_hibernate->TC_string[8] = 0;\
     uint16_t crc16 = crc16_gen(pl_tc_hibernate->TC_string, 9);\
     pl_tc_hibernate->TC_string[9]  = (uint8_t)(crc16 & 0xFF00)>>8;\
     pl_tc_hibernate->TC_string[10] = (uint8_t)(crc16 & 0x00FF);\
@@ -113,7 +113,7 @@
     {\
         temp = temp->next_TM;\
         delete tm_ptr_hibernate;\
-        tm_ptr_hibernate = temp;\        
+        tm_ptr_hibernate = temp;\
     }\
 }
 
@@ -125,7 +125,7 @@
     
 #define SET_PL_BEE_SCIENCE(tm_ptr_science) {\
     Base_tc *pl_tc_science = new Short_tc;\
-    pl_tc_science->next_TC = NULL;\    
+    pl_tc_science->next_TC = NULL;\
     pl_tc_science->TC_string[0] = 0x01;\
     pl_tc_science->TC_string[1] = 0xE1;\
     pl_tc_science->TC_string[2] = 0x81;\
@@ -147,7 +147,7 @@
     {\
         temp = temp->next_TM;\
         delete tm_ptr_science;\
-        tm_ptr_science = temp;\        
+        tm_ptr_science = temp;\
     }\
 }
 void print_processed_block(uint8_t index)