Transceiver: Use LOGCHAN in logRxBurst to unify log format

Change-Id: Iec33ab73a9bf90fd0bff9ba453c32ea11bf0670e
This commit is contained in:
Pau Espin 2019-09-06 14:37:07 +02:00
parent 1fba10409b
commit e3a2516280
1 changed files with 1 additions and 2 deletions

View File

@ -1016,8 +1016,7 @@ void Transceiver::logRxBurst(size_t chan, const struct trx_ul_burst_ind *bi)
else os << "-";
}
LOG(DEBUG) << std::fixed << std::right
<< " chan: " << chan
LOGCHAN(chan, DMAIN, DEBUG) << std::fixed << std::right
<< " time: " << unsigned(bi->tn) << ":" << bi->fn
<< " RSSI: " << std::setw(5) << std::setprecision(1) << (bi->rssi - rssiOffset)
<< "dBFS/" << std::setw(6) << -bi->rssi << "dBm"