From 77f3396d0411c19f1846496e2c3e85e4ae6aa31f Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 26 Aug 2019 17:11:12 +0200 Subject: device: Use LOGCHAN in set_antennas() Change-Id: I3099498e3a3f26b53d55a96a36cc056f7b25b27a --- Transceiver52M/device/common/radioDevice.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Transceiver52M/device/common') diff --git a/Transceiver52M/device/common/radioDevice.h b/Transceiver52M/device/common/radioDevice.h index e637611..b4928f2 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; } } -- cgit v1.2.3