diff --git a/Transceiver52M/device/common/radioDevice.h b/Transceiver52M/device/common/radioDevice.h index e6376116..b4928f28 100644 --- a/Transceiver52M/device/common/radioDevice.h +++ b/Transceiver52M/device/common/radioDevice.h @@ -187,9 +187,9 @@ class RadioDevice { for (i = 0; i < tx_paths.size(); i++) { if (tx_paths[i] == "") continue; - LOG(DEBUG) << "Configuring channel " << i << " with antenna " << tx_paths[i]; + LOGCHAN(i, DDEV, DEBUG) << "Configuring Tx antenna " << tx_paths[i]; if (!setTxAntenna(tx_paths[i], i)) { - LOG(ALERT) << "Failed configuring channel " << i << " with antenna " << tx_paths[i]; + LOGCHAN(i, DDEV, ALERT) << "Failed configuring Tx antenna " << tx_paths[i]; return false; } } @@ -197,9 +197,9 @@ class RadioDevice { for (i = 0; i < rx_paths.size(); i++) { if (rx_paths[i] == "") continue; - LOG(DEBUG) << "Configuring channel " << i << " with antenna " << rx_paths[i]; + LOGCHAN(i, DDEV, DEBUG) << "Configuring Rx antenna " << rx_paths[i]; if (!setRxAntenna(rx_paths[i], i)) { - LOG(ALERT) << "Failed configuring channel " << i << " with antenna " << rx_paths[i]; + LOGCHAN(i, DDEV, ALERT) << "Failed configuring Rx antenna " << rx_paths[i]; return false; } }