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

node: use macro for default sample length

This commit is contained in:
Steffen Vogel 2019-06-05 18:59:57 +02:00
parent 09a5d810e3
commit 6433caac28

View file

@ -138,7 +138,7 @@ int node_direction_parse(struct node_direction *nd, struct node *n, json_t *cfg)
return ret;
}
else {
int count = 64;
int count = DEFAULT_SAMPLE_LENGTH;
const char *type_str = "float";
if (json_is_object(json_signals)) {