mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
HAL_PX4: handle MODE_PWM_NONE enum
This commit is contained in:
parent
3c5c77889c
commit
2933d4dd35
@ -628,6 +628,7 @@ void PX4RCOutput::set_output_mode(uint16_t mask, enum output_mode mode)
|
||||
case MODE_PWM_DSHOT300:
|
||||
case MODE_PWM_DSHOT600:
|
||||
case MODE_PWM_DSHOT1200:
|
||||
case MODE_PWM_NONE:
|
||||
// treat as normal PWM for now
|
||||
hal.console->printf("DShot not supported\n");
|
||||
FALLTHROUGH;
|
||||
|
Loading…
Reference in New Issue
Block a user