mirror of https://github.com/ArduPilot/ardupilot
AP_Generator: include cleanups
This commit is contained in:
parent
45c6591f03
commit
88b8a7d64e
|
@ -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
|
||||
|
|
|
@ -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[];
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue