mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: fixed build on boards with no PWM
this impacts mRoNexus builds
This commit is contained in:
parent
cf350a52e9
commit
606c248e69
|
@ -109,7 +109,7 @@
|
|||
#endif
|
||||
|
||||
#ifndef HAL_DSHOT_ALARM
|
||||
#if !defined(HAL_BUILD_AP_PERIPH) && !defined(HAL_BOOTLOADER_BUILD)
|
||||
#if !defined(HAL_BUILD_AP_PERIPH) && !defined(HAL_BOOTLOADER_BUILD) && HAL_USE_PWM == TRUE
|
||||
#define HAL_DSHOT_ALARM 1
|
||||
#else
|
||||
#define HAL_DSHOT_ALARM 0
|
||||
|
|
Loading…
Reference in New Issue