From 998a059b29320ef2c943eee44655c1249d055597 Mon Sep 17 00:00:00 2001 From: Carl Philipp Klemm <philipp@uvos.xyz> Date: Mon, 30 Oct 2023 09:39:33 +0100 Subject: [PATCH] fix command cound check in set command --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index acc08ac..a0fd868 100644 --- a/main.c +++ b/main.c @@ -112,7 +112,7 @@ static int process_commands(char** commands, size_t command_count, struct coince if(command_count < 3) { printf("Usage %s %s [HEATER] [TEMPERATURE]\n", name, commands[0]); - + return 1; } int id = convert_string_to_heater_id(commands[1]); -- GitLab