mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
add initalizations in constructor
Signed-off-by: Alexandra <alexandra.bach@eonerc.rwth-aachen.de>
This commit is contained in:
parent
e7865c424a
commit
ea99bc0e73
1 changed files with 6 additions and 1 deletions
|
@ -27,7 +27,12 @@ SMUNode::SMUNode(const uuid_t &id, const std::string &name) :
|
|||
sample_rate(FS_10kSPS),
|
||||
fps(FB_10FPS),
|
||||
sync(SYNC_PPS),
|
||||
daq_cfg({sample_rate, fps, mode, sync})
|
||||
daq_cfg({sample_rate, fps, mode, sync}),
|
||||
shared_mem(nullptr), // initalization
|
||||
shared_mem_pos(0), // initalization
|
||||
shared_mem_inc(0), // initalization
|
||||
shared_mem_dim(0), // initalization
|
||||
buffer_size(0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue