From 05e93b66e9fd2df5622b025160b7ae2a2a670442 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 21 Nov 2017 10:31:22 -0800 Subject: mg: Add back _rpc_prefix --- host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp') diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp index e67d0b1fe..a8729af6a 100644 --- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp +++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.cpp @@ -100,6 +100,8 @@ UHD_RFNOC_RADIO_BLOCK_CONSTRUCTOR(magnesium_radio_ctrl) _master = _radio_slot == "A" or _radio_slot == "C"; UHD_LOG_DEBUG(unique_id(), "Radio type: " << (_master ? "master" : "slave")); + _rpc_prefix = + (_radio_slot == "A" or _radio_slot == "B") ? "db_0_" : "db_1_"; _init_defaults(); _init_peripherals(); -- cgit v1.2.3