log alignment

main
Tom Early 4 years ago
parent 187d0e5313
commit 6a927d0eff

@ -425,14 +425,14 @@ void CController::Dump(const std::shared_ptr<CTranscoderPacket> p, const std::st
} }
if (p->DMRIsSet()) if (p->DMRIsSet())
{ {
std::cout << "DMR Data: "; std::cout << "DMR Data: ";
for (unsigned int i=0; i<9; i++) for (unsigned int i=0; i<9; i++)
std::cout << std::setw(2) << std::setfill('0') << unsigned(*(p->GetDMRData()+i)); std::cout << std::setw(2) << std::setfill('0') << unsigned(*(p->GetDMRData()+i));
std::cout << std::endl; std::cout << std::endl;
} }
if (p->M17IsSet()) if (p->M17IsSet())
{ {
std::cout << "M17 Data: "; std::cout << "M17 Data: ";
for (unsigned int i=0; i<16; i++) for (unsigned int i=0; i<16; i++)
std::cout << std::setw(2) << std::setfill('0') << unsigned(*(p->GetM17Data()+i)); std::cout << std::setw(2) << std::setfill('0') << unsigned(*(p->GetM17Data()+i));
std::cout << std::endl; std::cout << std::endl;

Loading…
Cancel
Save

Powered by TurnKey Linux.