diff --git a/fpga b/fpga index 6c6d30c40..b21950751 160000 --- a/fpga +++ b/fpga @@ -1 +1 @@ -Subproject commit 6c6d30c406769969cc91ea44015e55045ea0b94f +Subproject commit b2195075150532dde85daac92f800dd58ec6c668 diff --git a/lib/nodes/fpga.cpp b/lib/nodes/fpga.cpp index db17507b3..d85486695 100644 --- a/lib/nodes/fpga.cpp +++ b/lib/nodes/fpga.cpp @@ -155,7 +155,8 @@ int FpgaNode::_read(Sample *smps[], unsigned cnt) { smp->length = 0; for (unsigned i = 0; i < MIN(read, smp->capacity); i++) { - smp->data[i].f = static_cast(mem[i]); + smp->data[i].f = + static_cast(mem[i]); //TODO: This is the wrong cast!!! smp->length++; } smp->flags = (int)SampleFlags::HAS_DATA;