mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Create a pg for rxConfig
This commit is contained in:
parent
60de878452
commit
041bfb22c6
99 changed files with 320 additions and 101 deletions
|
@ -24,6 +24,7 @@ extern "C" {
|
|||
#include "config/feature.h"
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/rx.h"
|
||||
#include "fc/config.h"
|
||||
#include "fc/controlrate_profile.h"
|
||||
#include "fc/fc_core.h"
|
||||
|
|
|
@ -25,6 +25,7 @@ extern "C" {
|
|||
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/rx.h"
|
||||
|
||||
#include "drivers/accgyro/accgyro.h"
|
||||
#include "drivers/accgyro/gyro_sync.h"
|
||||
|
|
|
@ -27,9 +27,10 @@ extern "C" {
|
|||
#include "platform.h"
|
||||
#include "target.h"
|
||||
#include "build/version.h"
|
||||
#include "pg/pg.h"
|
||||
#include "config/feature.h"
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/rx.h"
|
||||
#include "drivers/buf_writer.h"
|
||||
#include "drivers/vtx_common.h"
|
||||
#include "fc/config.h"
|
||||
|
|
|
@ -21,11 +21,12 @@
|
|||
#include <limits.h>
|
||||
|
||||
extern "C" {
|
||||
#include "platform.h"
|
||||
#include "build/debug.h"
|
||||
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
|
||||
#include "platform.h"
|
||||
#include "pg/rx.h"
|
||||
|
||||
#include "common/axis.h"
|
||||
#include "common/maths.h"
|
||||
|
|
|
@ -21,13 +21,16 @@
|
|||
#include <cmath>
|
||||
|
||||
extern "C" {
|
||||
#include "platform.h"
|
||||
#include "build/debug.h"
|
||||
|
||||
#include "common/axis.h"
|
||||
#include "common/maths.h"
|
||||
|
||||
#include "config/feature.h"
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/rx.h"
|
||||
|
||||
#include "drivers/accgyro/accgyro.h"
|
||||
#include "drivers/compass/compass.h"
|
||||
|
|
|
@ -22,12 +22,15 @@
|
|||
//#define DEBUG_LEDSTRIP
|
||||
|
||||
extern "C" {
|
||||
#include "platform.h"
|
||||
#include "build/build_config.h"
|
||||
|
||||
#include "common/axis.h"
|
||||
#include "common/color.h"
|
||||
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/rx.h"
|
||||
|
||||
#include "drivers/io.h"
|
||||
#include "drivers/light_ws2811strip.h"
|
||||
|
|
|
@ -27,7 +27,9 @@ extern "C" {
|
|||
|
||||
#include "blackbox/blackbox.h"
|
||||
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/rx.h"
|
||||
|
||||
#include "common/time.h"
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define USE_PARAMETER_GROUPS
|
||||
|
||||
|
@ -108,3 +109,5 @@ typedef struct
|
|||
#define NVIC_PriorityGroup_2 0x500
|
||||
|
||||
#include "target.h"
|
||||
|
||||
#include "target/common_defaults_post.h"
|
||||
|
|
|
@ -29,6 +29,7 @@ extern "C" {
|
|||
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/rx.h"
|
||||
|
||||
#include "blackbox/blackbox.h"
|
||||
#include "blackbox/blackbox_fielddefs.h"
|
||||
|
@ -735,4 +736,4 @@ timeDelta_t getTaskDeltaTime(cfTaskId_e) { return 20000; }
|
|||
}
|
||||
armingDisableFlags_e getArmingDisableFlags(void) {
|
||||
return (armingDisableFlags_e) 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,6 +47,7 @@ extern "C" {
|
|||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/vcd.h"
|
||||
#include "pg/rx.h"
|
||||
|
||||
#include "rx/rx.h"
|
||||
|
||||
|
|
|
@ -28,6 +28,8 @@ extern "C" {
|
|||
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/rx.h"
|
||||
|
||||
#include "common/crc.h"
|
||||
#include "common/utils.h"
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
extern "C" {
|
||||
#include "platform.h"
|
||||
#include "pg/pg.h"
|
||||
#include "pg/rx.h"
|
||||
#include "drivers/serial.h"
|
||||
#include "drivers/time.h"
|
||||
#include "io/serial.h"
|
||||
|
|
|
@ -25,7 +25,9 @@ extern "C" {
|
|||
|
||||
#include "drivers/io.h"
|
||||
#include "common/maths.h"
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/rx.h"
|
||||
#include "fc/rc_controls.h"
|
||||
#include "fc/rc_modes.h"
|
||||
#include "rx/rx.h"
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
extern "C" {
|
||||
#include "platform.h"
|
||||
|
||||
#include "pg/rx.h"
|
||||
#include "drivers/io.h"
|
||||
#include "rx/rx.h"
|
||||
#include "fc/rc_modes.h"
|
||||
|
|
|
@ -37,6 +37,7 @@ extern "C" {
|
|||
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/rx.h"
|
||||
|
||||
#include "drivers/nvic.h"
|
||||
#include "drivers/serial.h"
|
||||
|
|
|
@ -36,6 +36,7 @@ extern "C" {
|
|||
|
||||
#include "pg/pg.h"
|
||||
#include "pg/pg_ids.h"
|
||||
#include "pg/rx.h"
|
||||
|
||||
#include "drivers/serial.h"
|
||||
#include "drivers/system.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue