bladeRF/0002-libbladeRF-define-bladerf2_state_to_string-as-extern.patch

27 lines
980 B
Diff
Raw Normal View History

From 5cf9fd299a396a5ae5b4402215713fd2a84e607b Mon Sep 17 00:00:00 2001
From: Robert Ghilduta <robert.ghilduta@nuand.com>
Date: Mon, 25 May 2020 21:36:50 -0500
Subject: [PATCH 2/2] libbladeRF: define bladerf2_state_to_string as extern in
header
---
host/libraries/libbladeRF/src/board/bladerf2/common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/host/libraries/libbladeRF/src/board/bladerf2/common.h b/host/libraries/libbladeRF/src/board/bladerf2/common.h
index 23187ba6..efbebc86 100644
--- a/host/libraries/libbladeRF/src/board/bladerf2/common.h
+++ b/host/libraries/libbladeRF/src/board/bladerf2/common.h
@@ -207,7 +207,7 @@ extern const float ina219_r_shunt;
/* Constants */
/******************************************************************************/
-char const *bladerf2_state_to_string[4];
+extern char const *bladerf2_state_to_string[4];
/******************************************************************************/
--
2.26.2