##// END OF EJS Templates
427 corrected
paul -
r209:1150c6ce9403 R3
parent child
Show More
@@ -1,2 +1,2
1 1 a586fe639ac179e95bdc150ebdbab0312f31dc30 LFR_basic-parameters
2 72c4d5eb0bb95a1546beb2b22c8b88c31322ae31 header/lfr_common_headers
2 bb9afa759d57093f7646d3be18f4a9923a4cbf84 header/lfr_common_headers
@@ -12,7 +12,7 SWVERSION=-1-0
12 12 DEFINES += SW_VERSION_N1=3 # major
13 13 DEFINES += SW_VERSION_N2=0 # minor
14 14 DEFINES += SW_VERSION_N3=0 # patch
15 DEFINES += SW_VERSION_N4=3 # internal
15 DEFINES += SW_VERSION_N4=4 # internal
16 16
17 17 # <GCOV>
18 18 #QMAKE_CFLAGS_RELEASE += -fprofile-arcs -ftest-coverage
@@ -8,6 +8,7
8 8 */
9 9
10 10 #include "tc_acceptance.h"
11 #include <stdio.h>
11 12
12 13 unsigned int lookUpTableForCRC[256];
13 14
@@ -446,6 +447,7 int tc_check_crc( ccsdsTelecommandPacket
446 447
447 448 CCSDSContent = (unsigned char*) TCPacket->packetID;
448 449 GetCRCAsTwoBytes(CCSDSContent, computed_CRC, length + CCSDS_TC_TM_PACKET_OFFSET - 2); // 2 CRC bytes removed from the calculation of the CRC
450
449 451 if (computed_CRC[0] != CCSDSContent[length + CCSDS_TC_TM_PACKET_OFFSET -2]) {
450 452 status = INCOR_CHECKSUM;
451 453 }
General Comments 0
You need to be logged in to leave comments. Login now