mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Preparation for conversion to parameter groups 10
This commit is contained in:
parent
ba6f3a0046
commit
90c8ed5e3e
14 changed files with 63 additions and 70 deletions
|
@ -17,8 +17,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "io/motors.h"
|
||||
#include "io/servos.h"
|
||||
#include "drivers/timer.h"
|
||||
#include "drivers/dma.h"
|
||||
|
||||
|
@ -111,8 +109,10 @@ typedef struct {
|
|||
IO_t io;
|
||||
} pwmOutputPort_t;
|
||||
|
||||
void motorInit(const motorConfig_t *motorConfig, uint16_t idlePulse, uint8_t motorCount);
|
||||
void servoInit(const servoConfig_t *servoConfig);
|
||||
struct motorConfig_s;
|
||||
void motorInit(const struct motorConfig_s *motorConfig, uint16_t idlePulse, uint8_t motorCount);
|
||||
struct servoConfig_s;
|
||||
void servoInit(const struct servoConfig_s *servoConfig);
|
||||
|
||||
void pwmServoConfig(const struct timerHardware_s *timerHardware, uint8_t servoIndex, uint16_t servoPwmRate, uint16_t servoCenterPulse);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue