AP_Generator: include cleanups

This commit is contained in:
Peter Barker 2022-02-25 16:06:28 +11:00 committed by Andrew Tridgell
parent 45c6591f03
commit 88b8a7d64e
4 changed files with 6 additions and 6 deletions

View File

@ -21,6 +21,8 @@
#include "AP_Generator_IE_2400.h"
#include "AP_Generator_RichenPower.h"
#include <GCS_MAVLink/GCS.h>
const AP_Param::GroupInfo AP_Generator::var_info[] = {
// @Param: TYPE

View File

@ -9,7 +9,6 @@
#if HAL_GENERATOR_ENABLED
#include <AP_Param/AP_Param.h>
#include <GCS_MAVLink/GCS.h>
#include <AP_BattMonitor/AP_BattMonitor.h>
class AP_Generator_Backend;
@ -62,7 +61,7 @@ public:
bool idle(void);
bool run(void);
void send_generator_status(const GCS_MAVLINK &channel);
void send_generator_status(const class GCS_MAVLINK &channel);
// Parameter block
static const struct AP_Param::GroupInfo var_info[];

View File

@ -14,10 +14,12 @@
*/
#include "AP_Generator_IE_FuelCell.h"
#include <AP_SerialManager/AP_SerialManager.h>
#if HAL_GENERATOR_ENABLED
#include <AP_SerialManager/AP_SerialManager.h>
#include <GCS_MAVLink/GCS.h>
// Initialize the fuelcell object and prepare it for use
void AP_Generator_IE_FuelCell::init()
{

View File

@ -4,9 +4,6 @@
#if HAL_GENERATOR_ENABLED
#include <AP_Param/AP_Param.h>
#include <GCS_MAVLink/GCS.h>
class AP_Generator_IE_FuelCell : public AP_Generator_Backend
{