Relocate battery code to sensors directory.

This commit is contained in:
Dominic Clifton 2014-06-01 16:58:16 +01:00
parent 3f7960849a
commit 4b437e8e08
11 changed files with 10 additions and 10 deletions

View File

@ -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 \

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"