mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Seperate ONESHOT125 feature from fast_pwm_protocol
This commit is contained in:
parent
80e047e651
commit
f1d422c322
8 changed files with 18 additions and 13 deletions
|
@ -18,9 +18,10 @@
|
|||
#pragma once
|
||||
|
||||
typedef enum {
|
||||
PWM_TYPE_ONESHOT125 = 0,
|
||||
PWM_TYPE_ONESHOT42 = 1,
|
||||
PWM_TYPE_MULTISHOT = 2
|
||||
PWM_TYPE_CONVENTIONAL = 0,
|
||||
PWM_TYPE_ONESHOT125,
|
||||
PWM_TYPE_ONESHOT42,
|
||||
PWM_TYPE_MULTISHOT
|
||||
} FastPwmProtocolTypes_e;
|
||||
|
||||
void pwmWriteMotor(uint8_t index, uint16_t value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue