Relocate battery code to sensors directory.
This commit is contained in:
parent
3f7960849a
commit
4b437e8e08
2
Makefile
2
Makefile
|
@ -108,7 +108,6 @@ COMMON_SRC = build_config.c \
|
|||
drivers/serial.c \
|
||||
drivers/sound_beeper.c \
|
||||
drivers/system.c \
|
||||
io/battery.c \
|
||||
io/buzzer.c \
|
||||
io/gps.c \
|
||||
io/gps_conversion.c \
|
||||
|
@ -124,6 +123,7 @@ COMMON_SRC = build_config.c \
|
|||
rx/sbus.c \
|
||||
rx/sumd.c \
|
||||
rx/spektrum.c \
|
||||
sensors/battery.c \
|
||||
sensors/boardalignment.c \
|
||||
sensors/acceleration.c \
|
||||
sensors/barometer.c \
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
#include "flight/mixer.h"
|
||||
#include "sensors/boardalignment.h"
|
||||
#include "io/battery.h"
|
||||
#include "sensors/battery.h"
|
||||
#include "io/gimbal.h"
|
||||
#include "io/escservo.h"
|
||||
#include "io/rc_controls.h"
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
// FIXME remove dependency on config.h
|
||||
#include "sensors/boardalignment.h"
|
||||
#include "io/battery.h"
|
||||
#include "sensors/battery.h"
|
||||
#include "io/escservo.h"
|
||||
#include "io/rc_controls.h"
|
||||
#include "rx/rx.h"
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include "telemetry/telemetry.h"
|
||||
#include "io/gps.h"
|
||||
#include "rx/rx.h"
|
||||
#include "io/battery.h"
|
||||
#include "sensors/battery.h"
|
||||
#include "io/gimbal.h"
|
||||
#include "sensors/sensors.h"
|
||||
#include "sensors/acceleration.h"
|
||||
|
|
|
@ -24,10 +24,10 @@
|
|||
#include "io/gps.h"
|
||||
#include "rx/rx.h"
|
||||
#include "rx/msp.h"
|
||||
#include "io/battery.h"
|
||||
#include "io/gimbal.h"
|
||||
#include "telemetry/telemetry.h"
|
||||
#include "sensors/sensors.h"
|
||||
#include "sensors/battery.h"
|
||||
#include "sensors/acceleration.h"
|
||||
#include "sensors/barometer.h"
|
||||
#include "sensors/compass.h"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include "sensors/acceleration.h"
|
||||
#include "sensors/gyro.h"
|
||||
#include "telemetry/telemetry.h"
|
||||
#include "io/battery.h"
|
||||
#include "sensors/battery.h"
|
||||
#include "sensors/boardalignment.h"
|
||||
#include "config/runtime_config.h"
|
||||
#include "config/config.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include "drivers/serial.h"
|
||||
|
||||
#include "sensors/boardalignment.h"
|
||||
#include "io/battery.h"
|
||||
#include "sensors/battery.h"
|
||||
#include "io/buzzer.h"
|
||||
#include "io/escservo.h"
|
||||
#include "flight/failsafe.h"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "drivers/adc.h"
|
||||
#include "drivers/system.h"
|
||||
|
||||
#include "io/battery.h"
|
||||
#include "sensors/battery.h"
|
||||
|
||||
// Battery monitoring stuff
|
||||
uint8_t batteryCellCount = 3; // cell count
|
|
@ -23,9 +23,9 @@
|
|||
#include "sensors/sensors.h"
|
||||
#include "sensors/gyro.h"
|
||||
#include "sensors/barometer.h"
|
||||
#include "sensors/battery.h"
|
||||
#include "flight/flight.h"
|
||||
#include "io/gps.h"
|
||||
#include "io/battery.h"
|
||||
|
||||
#include "telemetry/telemetry.h"
|
||||
#include "telemetry/frsky.h"
|
||||
|
|
|
@ -51,10 +51,10 @@
|
|||
#include "config/runtime_config.h"
|
||||
|
||||
#include "sensors/sensors.h"
|
||||
#include "sensors/battery.h"
|
||||
|
||||
#include "flight/flight.h"
|
||||
#include "io/gps.h"
|
||||
#include "io/battery.h"
|
||||
|
||||
#include "telemetry/telemetry.h"
|
||||
#include "telemetry/hott.h"
|
||||
|
|
Loading…
Reference in New Issue