mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fpga: use snake case for low_latency_mode
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
This commit is contained in:
parent
8320e4f7c3
commit
6180e1019d
1 changed files with 4 additions and 3 deletions
|
@ -118,10 +118,10 @@ int FpgaNode::parse(json_t *json) {
|
|||
vfioContainer = std::make_shared<kernel::vfio::Container>();
|
||||
}
|
||||
|
||||
ret =
|
||||
json_unpack_ex(json, &err, 0, "{ s: o, s?: o, s?: b, s?: b, s?: f}",
|
||||
ret = json_unpack_ex(json, &err, 0, "{ s: o, s?: o, s?: b, s?: b, s?: f}",
|
||||
"card", &jsonCard, "connect", &jsonConnectStrings,
|
||||
"lowLatencyMode", &lowLatencyMode, "timestep", ×tep);
|
||||
"low_latency_mode", &lowLatencyMode, "timestep",
|
||||
×tep);
|
||||
if (ret) {
|
||||
throw ConfigError(json, err, "node-config-fpga",
|
||||
"Failed to parse configuration of node {}",
|
||||
|
@ -225,6 +225,7 @@ int FpgaNode::fastWrite(Sample *smps[], unsigned cnt) {
|
|||
mem[i] = smp->data[i].i;
|
||||
}
|
||||
}
|
||||
|
||||
dma->writeScatterGatherFast();
|
||||
auto written = dma->writeScatterGatherPoll() /
|
||||
sizeof(float); // The number of samples written
|
||||
|
|
Loading…
Add table
Reference in a new issue