aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Tucker <ryan.tucker@nuand.com>2017-07-20 16:12:49 -0400
committerDimitri Stolnikov <horiz0n@gmx.net>2018-08-15 19:53:26 +0200
commit68ba383fd5f9b35d47dbc398cc4202a90a1a4c3c (patch)
treee4b62340046fb6af316a87cecd5e16624c0aeeda
parentea6cc4beb9052d28c7fa086fa65d4f45672a1202 (diff)
bladerf: add firmware loopback mode
-rw-r--r--lib/bladerf/bladerf_common.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bladerf/bladerf_common.cc b/lib/bladerf/bladerf_common.cc
index 70fb591..d099c29 100644
--- a/lib/bladerf/bladerf_common.cc
+++ b/lib/bladerf/bladerf_common.cc
@@ -187,6 +187,8 @@ void bladerf_common::set_loopback_mode(const std::string &loopback)
mode = BLADERF_LB_RF_LNA2;
} else if (loopback == "rf_lna3") {
mode = BLADERF_LB_RF_LNA3;
+ } else if (loopback == "firmware") {
+ mode = BLADERF_LB_FIRMWARE;
} else if (loopback == "ad9361_bist") {
mode = BLADERF_LB_AD9361_BIST;
} else if (loopback == "none") {