From 6433caac28c92d422280cc7785174bfa00b955c7 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 5 Jun 2019 18:59:57 +0200 Subject: [PATCH] node: use macro for default sample length --- lib/node_direction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_direction.cpp b/lib/node_direction.cpp index d79ed2841..d5db528fa 100644 --- a/lib/node_direction.cpp +++ b/lib/node_direction.cpp @@ -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)) {