tmtc bridge bugfix

This commit is contained in:
Robin Müller 2020-04-17 23:14:11 +02:00
parent 2173d43d92
commit ceb688daf4
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() {
if(!communicationLinkUp) {
info << "TMTC Bridge: Registered Comm Link Connect" << std::endl; info << "TMTC Bridge: Registered Comm Link Connect" << std::endl;
if(not communicationLinkUp) {
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();