Skip to content
Snippets Groups Projects
Commit 998a059b authored by Carl Philipp Klemm's avatar Carl Philipp Klemm
Browse files

fix command cound check in set command

parent 7d824214
No related branches found
No related tags found
No related merge requests found
......@@ -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]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment