std::flush instead of std::endl
This commit is contained in:
parent
914dec3691
commit
ad01a36c02
@ -104,7 +104,7 @@ ReturnValue_t TmTcBridge::readTmQueue() {
|
|||||||
|
|
||||||
ReturnValue_t TmTcBridge::storeDownlinkData(TmTcMessage *message) {
|
ReturnValue_t TmTcBridge::storeDownlinkData(TmTcMessage *message) {
|
||||||
info << "TMTC Bridge: Comm Link down. "
|
info << "TMTC Bridge: Comm Link down. "
|
||||||
"Saving packet ID to be sent later " << std::endl;
|
"Saving packet ID to be sent later\r\n" << std::flush;
|
||||||
store_address_t storeId;
|
store_address_t storeId;
|
||||||
|
|
||||||
if(fifo.full()) {
|
if(fifo.full()) {
|
||||||
@ -124,7 +124,7 @@ ReturnValue_t TmTcBridge::sendStoredTm() {
|
|||||||
ReturnValue_t result = RETURN_OK;
|
ReturnValue_t result = RETURN_OK;
|
||||||
while(!fifo.empty() && counter < MAX_STORED_DATA_SENT_PER_CYCLE) {
|
while(!fifo.empty() && counter < MAX_STORED_DATA_SENT_PER_CYCLE) {
|
||||||
info << "UDP Server: Sending stored TM data. There are "
|
info << "UDP Server: Sending stored TM data. There are "
|
||||||
<< (int) fifo.size() << " left to send" << std::endl;
|
<< (int) fifo.size() << " left to send\r\n" << std::flush;
|
||||||
store_address_t storeId;
|
store_address_t storeId;
|
||||||
const uint8_t* data = NULL;
|
const uint8_t* data = NULL;
|
||||||
uint32_t size = 0;
|
uint32_t size = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user