##// END OF EJS Templates
Bug 861...
paul -
r84:335d64d1e4bf VHDLib206
parent child
Show More
@@ -1,6 +1,6
1 1 #############################################################################
2 2 # Makefile for building: bin/fsw
3 # Generated by qmake (2.01a) (Qt 4.8.5) on: Tue Nov 19 10:04:58 2013
3 # Generated by qmake (2.01a) (Qt 4.8.5) on: Thu Nov 21 17:20:36 2013
4 4 # Project: fsw-qt.pro
5 5 # Template: app
6 6 # Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile fsw-qt.pro
@@ -10,7 +10,7
10 10
11 11 CC = sparc-rtems-gcc
12 12 CXX = sparc-rtems-g++
13 DEFINES = -DSW_VERSION_N1=1 -DSW_VERSION_N2=0 -DSW_VERSION_N3=0 -DSW_VERSION_N4=0 -DPRINT_MESSAGES_ON_CONSOLE
13 DEFINES = -DSW_VERSION_N1=1 -DSW_VERSION_N2=0 -DSW_VERSION_N3=0 -DSW_VERSION_N4=1 -DPRINT_MESSAGES_ON_CONSOLE
14 14 CFLAGS = -pipe -O3 -Wall $(DEFINES)
15 15 CXXFLAGS = -pipe -O3 -Wall $(DEFINES)
16 16 INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I../src -I../header
@@ -11,7 +11,7 SWVERSION=-1-0
11 11 DEFINES += SW_VERSION_N1=1 # major
12 12 DEFINES += SW_VERSION_N2=0 # minor
13 13 DEFINES += SW_VERSION_N3=0 # patch
14 DEFINES += SW_VERSION_N4=0 # internal
14 DEFINES += SW_VERSION_N4=1 # internal
15 15
16 16 contains( CONFIG, verbose ) {
17 17 DEFINES += PRINT_MESSAGES_ON_CONSOLE
@@ -1,6 +1,6
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <!DOCTYPE QtCreatorProject>
3 <!-- Written by QtCreator 2.8.1, 2013-11-19T10:04:48. -->
3 <!-- Written by QtCreator 2.8.1, 2013-11-21T16:58:13. -->
4 4 <qtcreator>
5 5 <data>
6 6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
@@ -146,8 +146,7 enum apid_destid{
146 146 OBCP,
147 147 SYSTEM_CONTROL,
148 148 AOCS,
149 RPW_INTERNAL,
150 UNKNOWN
149 RPW_INTERNAL
151 150 };
152 151 // SEQUENCE COUNTERS
153 152 #define SEQ_CNT_MAX 16383
@@ -469,12 +469,10 void increment_seq_counter_destination_i
469 469 i = RPW_INTERNAL;
470 470 break;
471 471 default:
472 i = UNKNOWN;
472 i = GROUND;
473 473 break;
474 474 }
475 475
476 if (i != UNKNOWN)
477 {
478 476 segmentation_grouping_flag = TM_PACKET_SEQ_CTRL_STANDALONE << 8;
479 477 sequence_cnt = sequenceCounters_TC_EXE[ i ] & 0x3fff;
480 478
@@ -492,10 +490,5 void increment_seq_counter_destination_i
492 490 {
493 491 sequenceCounters_TC_EXE[ i ] = 0;
494 492 }
495 }
496 else
497 {
498 DEBUG_PRINTF1("in increment_seq_counter_destination_id *** ERR destination ID %d not known\n", destination_id)
499 }
500 493
501 494 }
@@ -1198,10 +1198,12 void increment_seq_counter_source_id( un
1198 1198 }
1199 1199 else
1200 1200 {
1201 sequence_cnt = &sequenceCounters_TC_EXE[ UNKNOWN ];
1201 sequence_cnt = NULL;
1202 1202 PRINTF1("in increment_seq_counter_source_id *** ERR apid_destid %d not known\n", sid)
1203 1203 }
1204 1204
1205 if (sequence_cnt != NULL)
1206 {
1205 1207 segmentation_grouping_flag = (packet_sequence_control[ 0 ] & 0xc0) << 8;
1206 1208 *sequence_cnt = (*sequence_cnt) & 0x3fff;
1207 1209
@@ -1210,7 +1212,7 void increment_seq_counter_source_id( un
1210 1212 packet_sequence_control[0] = (unsigned char) (new_packet_sequence_control >> 8);
1211 1213 packet_sequence_control[1] = (unsigned char) (new_packet_sequence_control );
1212 1214
1213 // increment the seuqence counter for the next packet
1215 // increment the sequence counter for the next packet
1214 1216 if ( *sequence_cnt < SEQ_CNT_MAX)
1215 1217 {
1216 1218 *sequence_cnt = *sequence_cnt + 1;
@@ -1219,5 +1221,5 void increment_seq_counter_source_id( un
1219 1221 {
1220 1222 *sequence_cnt = 0;
1221 1223 }
1222
1223 1224 }
1225 }
General Comments 0
You need to be logged in to leave comments. Login now