Commit 20941693 authored by Zhiping Jiang (蒋志平)'s avatar Zhiping Jiang (蒋志平) 💬

fix bug in BW display

parent 74ea8209
......@@ -163,7 +163,7 @@ void EchoProbeInitiator::unifiedEchoProbeWork() {
if (LoggingService::localDisplayLevel == Trace) {
printf("\n");
}
LoggingService::info_print("EchoProbe initiator {} @ cf={}MHz, bw={}MHz, #.tx = {}, #.acked = {}, success rate = {}\%.\n", hal->referredInterfaceName, (double)cur_cf / 1e6, (double)hal->getPLLRate() * (*parameters->bw == 40 ? 2 : 1) / 1e6, tx_count, acked_count, 100.0 * acked_count / tx_count);
LoggingService::info_print("EchoProbe initiator {} @ cf={}MHz, bw={}MHz, #.tx = {}, #.acked = {}, success rate = {}\%.\n", hal->referredInterfaceName, (double)cur_cf / 1e6, bb_rate_mhz , tx_count, acked_count, 100.0 * acked_count / tx_count);
cur_cf += cf_step;
if (cf_step < 0 ? (cur_cf < cf_end) : (cur_cf > cf_end)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment