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 mbed-rtos mbed
Fork of CDMS_CODE by
Diff: Compression.h
- Revision:
- 206:fba4aeebf004
- Parent:
- 114:9fb55057b13f
- Child:
- 207:28a07943dded
diff -r 5f75962ae7ea -r fba4aeebf004 Compression.h
--- a/Compression.h	Wed Jun 29 14:17:34 2016 +0000
+++ b/Compression.h	Thu Jun 30 14:00:33 2016 +0000
@@ -280,7 +280,8 @@
                 if(id == 1){    //below thereshold
                     space = adjust(1,0,pointer,8);
                     space = adjust(4,3,pointer,space);
-                    FSC_science = FCTN_SD_MNGR(3);
+                    FCTN_SD_MNGR();
+                    FSC_science = FSC_CURRENT[3];
                     //gPC.printf("SID = 3, FSC = %02X\r\n", FSC_science);
                     frames[id][1] = (FSC_science>>24)&0xff;
                     frames[id][2] = (FSC_science>>16)&0xff;
@@ -573,7 +574,8 @@
                 pointer = frames[id];
                 space = adjust(1,0,pointer,8);
                 space = adjust(4,1,pointer,space);
-                FSC_science = FCTN_SD_MNGR(1);
+                FCTN_SD_MNGR();
+                FSC_science = FSC_CURRENT[1];
                 //gPC.printf("SID = 1, FSC = %02X\r\n", FSC_science);
                 frames[id][1] = (FSC_science>>16)&0xff;
                 frames[id][2] = (FSC_science>>8)&0xff;
    