mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 16:03:34 +08:00
boards: remove BOARD_HAS_PWM and use DIRECT_PWM_OUTPUT_CHANNELS
This commit is contained in:
@@ -44,8 +44,8 @@
|
||||
|
||||
using namespace time_literals;
|
||||
|
||||
#if !defined(BOARD_HAS_PWM)
|
||||
# error "board_config.h needs to define BOARD_HAS_PWM"
|
||||
#if !defined(DIRECT_PWM_OUTPUT_CHANNELS)
|
||||
# error "board_config.h needs to define DIRECT_PWM_OUTPUT_CHANNELS"
|
||||
#endif
|
||||
|
||||
/** Dshot PWM frequency, Hz */
|
||||
|
||||
Reference in New Issue
Block a user