1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fpga: fix debug output

Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
This commit is contained in:
Niklas Eiling 2024-08-21 11:06:24 +02:00 committed by Niklas Eiling
parent 8df05c3c71
commit 36687d6af4

View file

@ -230,9 +230,9 @@ int FpgaNode::fastWrite(Sample *smps[], unsigned cnt) {
}
}
// logger->info("Writing sample: {}, {}, {:#x}", smp->data[0].f,
// signalTypeToString(smp->signals->getByIndex(0)->type),
// smp->data[0].i);
logger->trace("Writing sample: {}, {}, {:#x}", smp->data[0].f,
signalTypeToString(smp->signals->getByIndex(0)->type),
smp->data[0].i);
dma->writeScatterGatherFast();
auto written = dma->writeScatterGatherPoll() /
sizeof(float); // The number of samples written