mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Preparation for conversion to parameter groups 12
This commit is contained in:
parent
14a7c805c1
commit
2c667376fa
8 changed files with 118 additions and 145 deletions
|
@ -194,7 +194,7 @@ void pwmCompleteMotorUpdate(uint8_t motorCount)
|
|||
pwmCompleteWritePtr(motorCount);
|
||||
}
|
||||
|
||||
void motorInit(const motorDevConfig_t *motorConfig, uint16_t idlePulse, uint8_t motorCount)
|
||||
void motorDevInit(const motorDevConfig_t *motorConfig, uint16_t idlePulse, uint8_t motorCount)
|
||||
{
|
||||
memset(motors, 0, sizeof(motors));
|
||||
|
||||
|
@ -325,7 +325,7 @@ void pwmWriteServo(uint8_t index, uint16_t value)
|
|||
}
|
||||
}
|
||||
|
||||
void servoInit(const servoDevConfig_t *servoConfig)
|
||||
void servoDevInit(const servoDevConfig_t *servoConfig)
|
||||
{
|
||||
for (uint8_t servoIndex = 0; servoIndex < MAX_SUPPORTED_SERVOS; servoIndex++) {
|
||||
const ioTag_t tag = servoConfig->ioTags[servoIndex];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue