1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00

Move motorConfig_s, motorDevConfig_s and associated PG handling into pg/motor.[ch]

This commit is contained in:
jflyper 2019-06-29 16:46:14 +09:00
parent f9bd71f9be
commit 0e63596abd
41 changed files with 177 additions and 120 deletions

View file

@ -34,6 +34,8 @@
#include "timer.h"
#include "drivers/pwm_output.h"
#include "pg/motor.h"
static FAST_RAM_ZERO_INIT pwmWriteFn *pwmWrite;
static FAST_RAM_ZERO_INIT pwmOutputPort_t motors[MAX_SUPPORTED_MOTORS];
static FAST_RAM_ZERO_INIT pwmCompleteWriteFn *pwmCompleteWrite = NULL;