uhd: log asynchronous errors as errors
Bump abnormal asynchronous events - basically send errors - up to ERROR level. These errors are dominated almost entirely by underflow events, which should not be regularly occuring. Signed-off-by: Thomas Tsou <ttsou@vt.edu>
This commit is contained in:
parent
b70ddd4be2
commit
e8b9db51e2
|
@ -653,7 +653,7 @@ bool uhd_device::recv_async_msg()
|
|||
// Assume that any error requires resynchronization
|
||||
if (metadata.event_code != uhd::async_metadata_t::EVENT_CODE_BURST_ACK) {
|
||||
aligned = false;
|
||||
LOG(INFO) << str_code(metadata);
|
||||
LOG(ERROR) << str_code(metadata);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
@ -653,7 +653,7 @@ bool uhd_device::recv_async_msg()
|
|||
// Assume that any error requires resynchronization
|
||||
if (metadata.event_code != uhd::async_metadata_t::EVENT_CODE_BURST_ACK) {
|
||||
aligned = false;
|
||||
LOG(INFO) << str_code(metadata);
|
||||
LOG(ERROR) << str_code(metadata);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Reference in New Issue