1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 08:45:36 +03:00

Allowing oneshot125 functionality to work on a Naze board.

This code has been flight tested, but will have problems on a CC3D board, and also when the looptime is longer than 8200 uS.
This commit is contained in:
Ben Hitchcock 2014-11-22 22:53:36 +08:00
parent f5a579de14
commit 94c5573c39
6 changed files with 37 additions and 4 deletions

View file

@ -20,6 +20,7 @@
void pwmBrushedMotorConfig(const timerHardware_t *timerHardware, uint8_t motorIndex, uint16_t motorPwmRate, uint16_t idlePulse);
void pwmBrushlessMotorConfig(const timerHardware_t *timerHardware, uint8_t motorIndex, uint16_t motorPwmRate, uint16_t idlePulse);
void pwmWriteMotor(uint8_t index, uint16_t value);
void pwmFinishedWritingMotors(uint8_t numberMotors);
void pwmServoConfig(const timerHardware_t *timerHardware, uint8_t servoIndex, uint16_t servoPwmRate, uint16_t servoCenterPulse);
void pwmWriteServo(uint8_t index, uint16_t value);