1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Move Brushed ESC auto detection into seperate source files

pwm_output.c and pwm_output_hal.c are used aternativly
This commit is contained in:
Michael Jakob 2016-12-14 20:43:14 +01:00
parent d93224be06
commit 07f7b20aec
10 changed files with 90 additions and 38 deletions

View file

@ -114,15 +114,3 @@ pwmOutputPort_t *pwmGetMotors(void);
bool pwmIsSynced(void);
void pwmDisableMotors(void);
void pwmEnableMotors(void);
#ifdef BRUSHED_ESC_AUTODETECT
typedef enum {
MOTOR_UNKNOWN = 0,
MOTOR_BRUSHED,
MOTOR_BRUSHLESS
} HardwareMotorTypes_e;
extern uint8_t hardwareMotorType;
void detectBrushedESC(void);
#endif