From ee068621e6c026ee0f182fb34eba866b28301342 Mon Sep 17 00:00:00 2001 From: Niklas Eiling Date: Wed, 14 Feb 2024 11:58:29 +0100 Subject: [PATCH] ips/register: add default config for Dino Signed-off-by: Niklas Eiling --- fpga/lib/ips/register.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/fpga/lib/ips/register.cpp b/fpga/lib/ips/register.cpp index 995f1d74d..8623d7a31 100644 --- a/fpga/lib/ips/register.cpp +++ b/fpga/lib/ips/register.cpp @@ -43,6 +43,7 @@ bool Register::check() { } // This is Dino specific for now - we should possibly move this to Dino in the future + setRegister(0, static_cast(1000)); // set Dino to a rate of 20 kHz uint32_t rate = getRegister(0); float scale = getRegisterFloat(1); float offset = getRegisterFloat(2);