Minor: DC diagnosis layout.

This commit is contained in:
Florian Pose 2018-11-27 13:14:50 +01:00
parent f03f15a6fc
commit c8a4aa7c58
1 changed files with 3 additions and 3 deletions

View File

@ -257,7 +257,7 @@ void CommandMaster::execute(const StringVector &args)
cout << setprecision(0) << endl; cout << setprecision(0) << endl;
cout << " Distributed clocks:" << endl cout << " Distributed clocks:" << endl
<< " Reference clock: "; << " Reference clock: ";
if (data.ref_clock != 0xffff) { if (data.ref_clock != 0xffff) {
cout << "Slave " << dec << data.ref_clock; cout << "Slave " << dec << data.ref_clock;
} else { } else {
@ -265,8 +265,8 @@ void CommandMaster::execute(const StringVector &args)
} }
cout << endl cout << endl
<< " DC reference time: " << data.dc_ref_time << endl << " DC reference time: " << data.dc_ref_time << endl
<< " Application time: " << data.app_time << endl << " Application time: " << data.app_time << endl
<< " "; << " ";
epoch = data.app_time / 1000000000 + 946684800ULL; epoch = data.app_time / 1000000000 + 946684800ULL;
time_str_size = strftime(time_str, MAX_TIME_STR_SIZE, time_str_size = strftime(time_str, MAX_TIME_STR_SIZE,