tmtc bridge bugfix

This commit is contained in:
Robin Müller 2019-12-26 20:17:21 +01:00
parent 0066a6b788
commit 8397f5b2b1
2 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,7 @@
* @file TmTcBridge.cpp * @file TmTcBridge.cpp
* *
* @date 26.12.2019 * @date 26.12.2019
* @author R. Mueller
*/ */
#include <framework/tmtcservices/TmTcBridge.h> #include <framework/tmtcservices/TmTcBridge.h>
@ -144,8 +145,8 @@ ReturnValue_t TmTcBridge::sendStoredTm() {
} }
void TmTcBridge::registerCommConnect() { void TmTcBridge::registerCommConnect() {
info << "TMTC Bridge: Registered Comm Link Connect" << std::endl; if(!communicationLinkUp) {
if(not communicationLinkUp) { info << "TMTC Bridge: Registered Comm Link Connect" << std::endl;
communicationLinkUp = true; communicationLinkUp = true;
} }
} }

View File

@ -25,7 +25,7 @@ public:
virtual ~TmTcBridge(); virtual ~TmTcBridge();
/** /**
* Initializes basic FSFW components for TMTC Bridge * Initializes basic FSFW components for the TMTC Bridge
* @return * @return
*/ */
virtual ReturnValue_t initialize(); virtual ReturnValue_t initialize();