diff --git a/FSW-qt/Makefile b/FSW-qt/Makefile --- a/FSW-qt/Makefile +++ b/FSW-qt/Makefile @@ -1,6 +1,6 @@ ############################################################################# # Makefile for building: bin/fsw -# Generated by qmake (2.01a) (Qt 4.8.5) on: Tue Nov 12 10:07:41 2013 +# Generated by qmake (2.01a) (Qt 4.8.5) on: Tue Nov 12 13:28:25 2013 # Project: fsw-qt.pro # Template: app # Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile fsw-qt.pro diff --git a/FSW-qt/fsw-qt.pro b/FSW-qt/fsw-qt.pro --- a/FSW-qt/fsw-qt.pro +++ b/FSW-qt/fsw-qt.pro @@ -17,6 +17,10 @@ contains( CONFIG, verbose ) { DEFINES += PRINT_MESSAGES_ON_CONSOLE } +contains( CONFIG, debug_messages ) { + DEFINES += DEBUG_MESSAGES +} + contains( CONFIG, cpu_usage_report ) { DEFINES += PRINT_TASK_STATISTICS } diff --git a/FSW-qt/fsw-qt.pro.user b/FSW-qt/fsw-qt.pro.user --- a/FSW-qt/fsw-qt.pro.user +++ b/FSW-qt/fsw-qt.pro.user @@ -1,6 +1,6 @@ - + ProjectExplorer.Project.ActiveTarget diff --git a/src/tm_lfr_tc_exe.c b/src/tm_lfr_tc_exe.c --- a/src/tm_lfr_tc_exe.c +++ b/src/tm_lfr_tc_exe.c @@ -472,7 +472,7 @@ void increment_seq_counter_destination_i packet_sequence_control[0] = (unsigned char) (new_packet_sequence_control >> 8); packet_sequence_control[1] = (unsigned char) (new_packet_sequence_control ); - // increment the seuqence counter for the next packet + // increment the sequence counter for the next packet if ( sequenceCounters_TC_EXE[ i ] < SEQ_CNT_MAX) { sequenceCounters_TC_EXE[ i ] = sequenceCounters_TC_EXE[ i ] + 1; @@ -484,7 +484,7 @@ void increment_seq_counter_destination_i } else { - PRINTF1("in increment_seq_counter_destination_id *** ERR destination ID %d not known\n", destination_id) + DEBUG_PRINTF1("in increment_seq_counter_destination_id *** ERR destination ID %d not known\n", destination_id) } }