From 54ce6d62684834f6c6802d84b3e2ff34a46dea14 Mon Sep 17 00:00:00 2001
From: donker <donker@astron.nl>
Date: Tue, 2 Nov 2021 07:02:13 +0100
Subject: [PATCH] fixed typo

---
 src/periph/fpga.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/periph/fpga.cpp b/src/periph/fpga.cpp
index ca0a5bea..937747a4 100644
--- a/src/periph/fpga.cpp
+++ b/src/periph/fpga.cpp
@@ -1115,7 +1115,7 @@ bool Periph_fpga::write_sst_offload_weighted_subbands(const char *data)
 {
     uint32_t _data[1];
     _data[0] = (uint32_t)data[0];
-    bool retval = Write("mm/0/REG_DP_SELECTOR/0/input_select", reg);
+    bool retval = Write("mm/0/REG_DP_SELECTOR/0/input_select", _data);
     return retval;
 }
 
-- 
GitLab