summaryrefslogtreecommitdiff
path: root/Radio/HW/BladeRF/src/board/board.c
diff options
context:
space:
mode:
authorArturs Artamonovs <arturs.artamonovs@protonmail.com>2024-11-03 15:56:55 +0000
committerArturs Artamonovs <arturs.artamonovs@protonmail.com>2024-11-03 15:56:55 +0000
commitcf4444e7390365df43ecbd3d130015c1e06ef88f (patch)
tree8a6eb114135a04d5efd5af213577b4fac47532ae /Radio/HW/BladeRF/src/board/board.c
parentca50c0f64f1b2fce46b4cb83ed111854bac13852 (diff)
downloadPrySDR-cf4444e7390365df43ecbd3d130015c1e06ef88f.tar.gz
PrySDR-cf4444e7390365df43ecbd3d130015c1e06ef88f.zip
BladeRF library compiles
Diffstat (limited to 'Radio/HW/BladeRF/src/board/board.c')
-rw-r--r--Radio/HW/BladeRF/src/board/board.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/Radio/HW/BladeRF/src/board/board.c b/Radio/HW/BladeRF/src/board/board.c
new file mode 100644
index 0000000..9b49242
--- /dev/null
+++ b/Radio/HW/BladeRF/src/board/board.c
@@ -0,0 +1,13 @@
+#include "host_config.h"
+
+#include "board.h"
+
+extern const struct board_fns bladerf1_board_fns;
+extern const struct board_fns bladerf2_board_fns;
+
+const struct board_fns *bladerf_boards[] = {
+ &bladerf1_board_fns,
+ &bladerf2_board_fns,
+};
+
+const unsigned int bladerf_boards_len = ARRAY_SIZE(bladerf_boards);