Package: bladerf / 0.2017.12~rc1-2

0009-libbladeRF-remove-spurious-printf.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 1dd6cfa8ff4a763c223092d0bba5b697274f1549 Mon Sep 17 00:00:00 2001
From: Robert Ghilduta <Robert.Ghilduta@nuand.com>
Date: Tue, 6 Feb 2018 13:38:56 -0600
Subject: [PATCH 09/15] libbladeRF: remove spurious printf

---
 host/libraries/libbladeRF/src/config.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/host/libraries/libbladeRF/src/config.c b/host/libraries/libbladeRF/src/config.c
index 0c5ebb23..6d55c15d 100644
--- a/host/libraries/libbladeRF/src/config.c
+++ b/host/libraries/libbladeRF/src/config.c
@@ -195,7 +195,6 @@ static int apply_config_options(struct bladerf *dev, struct config_options opt)
         status = bladerf_set_bandwidth(dev, BLADERF_MODULE_TX, bw, NULL);
     } else if (!strcasecmp(opt.key, "agc")) {
         ok = str2bool(opt.value, &val);
-        printf("%s %d \n", opt.value, ok);
         if (ok != 0)
             return BLADERF_ERR_INVAL;
 
-- 
2.11.0