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

code-style fixes

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel 2022-12-07 18:51:25 +01:00
parent ae17d58cc4
commit 3b5f686262
2 changed files with 8 additions and 6 deletions

View file

@ -44,15 +44,17 @@ protected:
std::string dmaName;
protected:
virtual int
_read(Sample *smps[], unsigned cnt);
virtual
int _read(Sample *smps[], unsigned cnt);
virtual int
_write(Sample *smps[], unsigned cnt);
virtual
int _write(Sample *smps[], unsigned cnt);
public:
FpgaNode(const std::string &name = "");
virtual ~FpgaNode();
virtual
~FpgaNode();
virtual
int parse(json_t *cfg, const uuid_t sn_uuid);

View file

@ -233,7 +233,7 @@ int FpgaNodeFactory::start(SuperNode *sn)
if (!json_fpgas)
throw ConfigError(json_cfg, "node-config-fpgas", "No section 'fpgas' found in config");
// create all FPGA card instances using the corresponding plugin
// Create all FPGA card instances using the corresponding plugin
auto piceCards = fpga::PCIeCardFactory::make(json_fpgas, pciDevices, vfioContainer);
cards.splice(cards.end(), piceCards);