From a3435686c3a3ff11e31b84eead60645dfaa06998 Mon Sep 17 00:00:00 2001 From: Tatiana Leon Date: Mon, 9 Oct 2023 10:52:07 +0200 Subject: [PATCH] cccs-upload-data-points-example: increase the seconds between samples This commit increases the number of seconds between incremental values so, the sample uploads 10 samples per minute. While on it, fix a typo. Signed-off-by: Tatiana Leon --- cccs-upload-data-points-example/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cccs-upload-data-points-example/main.c b/cccs-upload-data-points-example/main.c index a3122f8..bf30c3f 100644 --- a/cccs-upload-data-points-example/main.c +++ b/cccs-upload-data-points-example/main.c @@ -23,7 +23,7 @@ #define STREAM_NAME "incremental" -#define DP_SLEEP_TIME 5 +#define DP_SLEEP_TIME 6 #define DP_NUMBER 10 static int stop_requested = 0; @@ -179,7 +179,7 @@ static int send_data(cccs_dp_collection_handle_t collection) cccs_comm_error_t ret; cccs_resp_t resp; - log_info("%s", "Sending data sream with new incremental value"); + log_info("%s", "Sending data stream with new incremental value"); ret = cccs_send_dp_collection_tout(collection, 5, &resp); if (ret != CCCS_SEND_ERROR_NONE) {