Browse Source

AP_HAL: fixed build on boards with no PWM

this impacts mRoNexus builds
c415-sdk
Andrew Tridgell 4 years ago
parent
commit
606c248e69
  1. 2
      libraries/AP_HAL/board/chibios.h

2
libraries/AP_HAL/board/chibios.h

@ -109,7 +109,7 @@ @@ -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…
Cancel
Save