AP_HAL: allow bdshot iomcu on non-bdshot fmu

This commit is contained in:
Andy Piper 2023-11-16 17:44:00 +00:00 committed by Andrew Tridgell
parent 2415c2998b
commit a8772ef5a2

View File

@ -170,8 +170,12 @@
#define HAL_WITH_IO_MCU 0
#endif
#ifndef HAL_WITH_IO_MCU_BIDIR_DSHOT
#define HAL_WITH_IO_MCU_BIDIR_DSHOT 0
#endif
#ifndef HAL_WITH_IO_MCU_DSHOT
#define HAL_WITH_IO_MCU_DSHOT 0
#define HAL_WITH_IO_MCU_DSHOT HAL_WITH_IO_MCU_BIDIR_DSHOT
#endif
// this is used as a general mechanism to make a 'small' build by