From fd3f4631f16da09706eb1cde84a65322a24c31cb Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Mon, 25 Jan 2021 22:53:11 +0100 Subject: [PATCH] revert change; mix up in topic vs. _type --- recorder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recorder.c b/recorder.c index 0eae0c6..9e0f714 100644 --- a/recorder.c +++ b/recorder.c @@ -671,7 +671,7 @@ void handle_message(void *userdata, char *topic, char *payload, size_t payloadle else if (!strcmp(j->string_, "card")) _type = T_CARD; else if (!strcmp(j->string_, "cmd")) _type = T_CMD; else if (!strcmp(j->string_, "lwt")) _type = T_LWT; - else if (!strcmp(j->string_, "step")) _type = T_STEPS; + else if (!strcmp(j->string_, "steps")) _type = T_STEPS; else if (!strcmp(j->string_, "transition")) _type = T_TRANSITION; else if (!strcmp(j->string_, "waypoint")) _type = T_WAYPOINT; else if (!strcmp(j->string_, "waypoints")) _type = T_WAYPOINTS;