Transciever: Log values causing Tx underrun

Change-Id: I68e18075eade55034567d96fc774d00a794afeeb
This commit is contained in:
Pau Espin 2018-10-02 17:30:28 +02:00
parent 55dd2aa5ab
commit 74bcc562a9
1 changed files with 2 additions and 1 deletions

View File

@ -1001,7 +1001,8 @@ void Transceiver::driveTxFIFO()
// only update latency at the defined frame interval
if (radioClock->get() > mLatencyUpdateTime + GSM::Time(USB_LATENCY_INTRVL)) {
mTransmitLatency = mTransmitLatency + GSM::Time(1,0);
LOG(INFO) << "new latency: " << mTransmitLatency;
LOG(INFO) << "new latency: " << mTransmitLatency << " (underrun "
<< radioClock->get() << " vs " << mLatencyUpdateTime + GSM::Time(USB_LATENCY_INTRVL) << ")";
mLatencyUpdateTime = radioClock->get();
}
}