boards: remove BOARD_HAS_PWM and use DIRECT_PWM_OUTPUT_CHANNELS

This commit is contained in:
Beat Küng
2021-09-08 16:10:24 -04:00
committed by Daniel Agar
parent 1ee423e3c8
commit a8e75d174c
38 changed files with 16 additions and 54 deletions
+2 -2
View File
@@ -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 */