Skip to content

Commit

Permalink
revert change; mix up in topic vs. _type
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmens committed Jan 25, 2021
1 parent 0960aad commit fd3f463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recorder.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fd3f463

Please sign in to comment.