mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fpga: improve code style
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
This commit is contained in:
parent
9814543d6c
commit
394e8a6592
2 changed files with 4 additions and 5 deletions
|
@ -43,7 +43,6 @@ bool AxisCache::check() {
|
|||
}
|
||||
}
|
||||
|
||||
// Reset Registers
|
||||
resetAllRegisters();
|
||||
|
||||
for (size_t i = 0; i < registerNum; i++) {
|
||||
|
|
|
@ -92,10 +92,10 @@ public:
|
|||
// Register hook
|
||||
static char n[] = "cast";
|
||||
static char d[] = "Cast signals types";
|
||||
static HookPlugin<CastHook, n, d,
|
||||
(int)Hook::Flags::NODE_READ | (int)Hook::Flags::NODE_WRITE |
|
||||
(int)Hook::Flags::PATH>
|
||||
p;
|
||||
static constexpr int flags = (int)Hook::Flags::NODE_READ |
|
||||
(int)Hook::Flags::NODE_WRITE |
|
||||
(int)Hook::Flags::PATH;
|
||||
static HookPlugin<CastHook, n, d, flags> p;
|
||||
|
||||
} // namespace node
|
||||
} // namespace villas
|
||||
|
|
Loading…
Add table
Reference in a new issue