aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-12-14 16:20:58 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:06:11 -0800
commit9e5fb0c49f7911e0e9f6e9390e81d9465304cfeb (patch)
treec54c9292f3d0b008b4e7c36ee1faa1f5f8833e68 /host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
parent3ee587672022ed9b7093b22d25bc8e2a4432f618 (diff)
downloaduhd-9e5fb0c49f7911e0e9f6e9390e81d9465304cfeb.tar.gz
uhd-9e5fb0c49f7911e0e9f6e9390e81d9465304cfeb.tar.bz2
uhd-9e5fb0c49f7911e0e9f6e9390e81d9465304cfeb.zip
mg: Add 'identify' block arg, will toggle LEDs for identification
Diffstat (limited to 'host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp')
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
index b706c565b..33c147f53 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_impl.hpp
@@ -205,9 +205,16 @@ private:
const size_t chan,
const uhd::direction_t dir
);
+
/**************************************************************************
* CPLD Controls (implemented in magnesium_radio_ctrl_cpld.cpp)
*************************************************************************/
+ //! Blink the front-panel LEDs for \p identify_duration, then reset CPLD
+ // and resume normal operation.
+ void _identify_with_leds(
+ const int identify_duration
+ );
+
void _update_rx_freq_switches(
const double freq,
const bool bypass_lnas,