@@ -116,7 +116,7 @@ static void relay_chn_tilt_issue_cmd(relay_chn_tilt_ctl_t *tilt_ctl, relay_chn_t
|
|||||||
case RELAY_CHN_STATE_REVERSE_PENDING:
|
case RELAY_CHN_STATE_REVERSE_PENDING:
|
||||||
// Issue a stop command first so that the timer and pending cmd get cleared
|
// Issue a stop command first so that the timer and pending cmd get cleared
|
||||||
relay_chn_dispatch_cmd(tilt_ctl->chn_ctl, RELAY_CHN_CMD_STOP);
|
relay_chn_dispatch_cmd(tilt_ctl->chn_ctl, RELAY_CHN_CMD_STOP);
|
||||||
// break not put intentionally
|
// FALLTHRU
|
||||||
case RELAY_CHN_STATE_STOPPED: {
|
case RELAY_CHN_STATE_STOPPED: {
|
||||||
// Check if channel needs timing before tilting
|
// Check if channel needs timing before tilting
|
||||||
uint32_t req_timing_ms = relay_chn_tilt_get_required_timing_before_tilting(tilt_ctl, cmd);
|
uint32_t req_timing_ms = relay_chn_tilt_get_required_timing_before_tilting(tilt_ctl, cmd);
|
||||||
|
|||||||
Reference in New Issue
Block a user