mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Disambiguate MAX_MOTORS and MAX_SUPPORTED_MOTORS
Achieved by renaming MAX_MOTORS to MAX_PWM_MOTORS Disambiguate MAX_MOTORS and MAX_SUPPORTED_SERVOS Achieved by renaming MAX_SERVOS to MAX_PWM_SERVOS It now shows there is a dependency on the pwm driver if MAX_PWM_* is used. Coupled pwm_common and timer_common by using USABLE_TIMER_CHANNEL_COUNT since the current pwm driver and timer driver is only usable by the STM32F103.
This commit is contained in:
parent
a5f0999c26
commit
aa84439b21
8 changed files with 25 additions and 24 deletions
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#define USABLE_TIMER_CHANNEL_COUNT 14
|
||||
|
||||
typedef void timerCCCallbackPtr(uint8_t port, uint16_t capture);
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue