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

Add the first unit test for the mixer.

See #16
This commit is contained in:
Dominic Clifton 2015-03-16 22:56:14 +01:00
parent 1e7fb08b9d
commit 8e6570754c
5 changed files with 177 additions and 22 deletions

View file

@ -17,12 +17,7 @@
#pragma once
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 pwmOneshotMotorConfig(const timerHardware_t *timerHardware, uint8_t motorIndex, uint16_t idlePulse);
void pwmWriteMotor(uint8_t index, uint16_t value);
void pwmCompleteOneshotMotorUpdate(uint8_t motorCount);
void pwmServoConfig(const timerHardware_t *timerHardware, uint8_t servoIndex, uint16_t servoPwmRate, uint16_t servoCenterPulse);
void pwmWriteServo(uint8_t index, uint16_t value);