make it compile standalone

This commit is contained in:
proddy
2022-06-06 11:20:16 +02:00
parent cf4818f09c
commit 64a7108e6d
3 changed files with 6 additions and 2 deletions

View File

@@ -276,7 +276,7 @@ uint8_t Command::call(const uint8_t device_type, const char * cmd, const char *
}
}
// call the function baesed on type
// call the function based on type
if (cf->cmdfunction_json_) {
return_code = ((cf->cmdfunction_json_)(value, id, output)) ? CommandRet::OK : CommandRet::ERROR;
}