We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7079cf4 commit 9d7f327Copy full SHA for 9d7f327
1 file changed
lib/nodes/fpga.cpp
@@ -221,10 +221,10 @@ int FpgaNode::start() {
221
// If fastWrite receives less signals than expected, the previous data
222
// will be reused for the remaining signals
223
int FpgaNode::fastWrite(Sample *smps[], unsigned cnt) {
224
- Sample *smp = smps[0];
225
-
226
assert(cnt == 1 && smps != nullptr && smps[0] != nullptr);
227
+ Sample *smp = smps[0];
+
228
for (unsigned i = 0; i < smp->length; i++) {
229
if (smp->signals->getByIndex(i)->type == SignalType::FLOAT) {
230
(*accessorTxFloat)[i] = static_cast<float>(smp->data[i].f);
0 commit comments