minor form changes
This commit is contained in:
parent
e3a4eca3f9
commit
ab2794e2d8
@ -23,7 +23,7 @@ ReturnValue_t TmTcBridge::setNumberOfSentPacketsPerCycle(
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
warning << "TmTcBridge: Number of packets sent per cycle "
|
warning << "TmTcBridge: Number of packets sent per cycle "
|
||||||
"exceeds limits" << std::endl;
|
"exceeds limits. Keeping default value." << std::endl;
|
||||||
return RETURN_FAILED;
|
return RETURN_FAILED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -36,7 +36,7 @@ ReturnValue_t TmTcBridge::setMaxNumberOfPacketsStored(
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
warning << "TmTcBridge: Number of packets stored "
|
warning << "TmTcBridge: Number of packets stored "
|
||||||
"exceeds limits" << std::endl;
|
"exceeds limits. Keeping default value." << std::endl;
|
||||||
return RETURN_FAILED;
|
return RETURN_FAILED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -142,7 +142,7 @@ ReturnValue_t TmTcBridge::storeDownlinkData(TmTcMessage *message) {
|
|||||||
ReturnValue_t TmTcBridge::handleStoredTm() {
|
ReturnValue_t TmTcBridge::handleStoredTm() {
|
||||||
uint8_t counter = 0;
|
uint8_t counter = 0;
|
||||||
ReturnValue_t result = RETURN_OK;
|
ReturnValue_t result = RETURN_OK;
|
||||||
while(!fifo.empty() && counter < sentPacketsPerCycle) {
|
while(not fifo.empty() && counter < sentPacketsPerCycle) {
|
||||||
//info << "TMTC Bridge: Sending stored TM data. There are "
|
//info << "TMTC Bridge: Sending stored TM data. There are "
|
||||||
// << (int) fifo.size() << " left to send\r\n" << std::flush;
|
// << (int) fifo.size() << " left to send\r\n" << std::flush;
|
||||||
store_address_t storeId;
|
store_address_t storeId;
|
||||||
@ -169,7 +169,7 @@ ReturnValue_t TmTcBridge::handleStoredTm() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TmTcBridge::registerCommConnect() {
|
void TmTcBridge::registerCommConnect() {
|
||||||
if(!communicationLinkUp) {
|
if(not communicationLinkUp) {
|
||||||
//info << "TMTC Bridge: Registered Comm Link Connect" << std::endl;
|
//info << "TMTC Bridge: Registered Comm Link Connect" << std::endl;
|
||||||
communicationLinkUp = true;
|
communicationLinkUp = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user