zy1000: fix breakage in command parsing code for power command
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
@@ -235,7 +235,7 @@ COMMAND_HANDLER(handle_power_command)
|
|||||||
// fall through
|
// fall through
|
||||||
}
|
}
|
||||||
case 0:
|
case 0:
|
||||||
command_print(cmd_ctx, "Target power %s", savePower ? "on" : "off");
|
LOG_INFO("Target power %s", savePower ? "on" : "off");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return ERROR_INVALID_ARGUMENTS;
|
return ERROR_INVALID_ARGUMENTS;
|
||||||
|
|||||||
Reference in New Issue
Block a user