1
0
Fork 0
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:
borisbstyle 2016-05-24 23:10:09 +02:00
parent 80e047e651
commit f1d422c322
8 changed files with 18 additions and 13 deletions

View file

@ -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);