mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Fix compilation when USE_DSHOT and USE_PWM_OUTPUT are not defined.
Fix compilation when USE_DMA and USE_DMA_SPEC are not defined. Cleanup calling code of `isMotorProtocolDshot`. Fix 'unused' warning when USE_PWM_OUTPUT is not defined. Undo isMotoroProtocolDshot change. Disable USE_SERIAL_4WAY_BLHELI_INTERFACE when USE_PWM_OUTPUT is not enabled. Style cleanup.
This commit is contained in:
parent
1631831147
commit
1f2ef98042
7 changed files with 46 additions and 22 deletions
|
@ -26,7 +26,6 @@
|
|||
#include "platform.h"
|
||||
|
||||
#ifdef USE_PWM_OUTPUT
|
||||
|
||||
#include "drivers/time.h"
|
||||
|
||||
#include "drivers/io.h"
|
||||
|
@ -781,4 +780,5 @@ void beeperPwmInit(const ioTag_t tag, uint16_t frequency)
|
|||
}
|
||||
}
|
||||
#endif // USE_BEEPER
|
||||
#endif
|
||||
#endif //USE_PWM_OUTPUT
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue