mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
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_IE_2400.h"
|
||||||
#include "AP_Generator_RichenPower.h"
|
#include "AP_Generator_RichenPower.h"
|
||||||
|
|
||||||
|
#include <GCS_MAVLink/GCS.h>
|
||||||
|
|
||||||
const AP_Param::GroupInfo AP_Generator::var_info[] = {
|
const AP_Param::GroupInfo AP_Generator::var_info[] = {
|
||||||
|
|
||||||
// @Param: TYPE
|
// @Param: TYPE
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
#if HAL_GENERATOR_ENABLED
|
#if HAL_GENERATOR_ENABLED
|
||||||
|
|
||||||
#include <AP_Param/AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <GCS_MAVLink/GCS.h>
|
|
||||||
#include <AP_BattMonitor/AP_BattMonitor.h>
|
#include <AP_BattMonitor/AP_BattMonitor.h>
|
||||||
|
|
||||||
class AP_Generator_Backend;
|
class AP_Generator_Backend;
|
||||||
@ -62,7 +61,7 @@ public:
|
|||||||
bool idle(void);
|
bool idle(void);
|
||||||
bool run(void);
|
bool run(void);
|
||||||
|
|
||||||
void send_generator_status(const GCS_MAVLINK &channel);
|
void send_generator_status(const class GCS_MAVLINK &channel);
|
||||||
|
|
||||||
// Parameter block
|
// Parameter block
|
||||||
static const struct AP_Param::GroupInfo var_info[];
|
static const struct AP_Param::GroupInfo var_info[];
|
||||||
|
@ -14,10 +14,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "AP_Generator_IE_FuelCell.h"
|
#include "AP_Generator_IE_FuelCell.h"
|
||||||
#include <AP_SerialManager/AP_SerialManager.h>
|
|
||||||
|
|
||||||
#if HAL_GENERATOR_ENABLED
|
#if HAL_GENERATOR_ENABLED
|
||||||
|
|
||||||
|
#include <AP_SerialManager/AP_SerialManager.h>
|
||||||
|
#include <GCS_MAVLink/GCS.h>
|
||||||
|
|
||||||
// Initialize the fuelcell object and prepare it for use
|
// Initialize the fuelcell object and prepare it for use
|
||||||
void AP_Generator_IE_FuelCell::init()
|
void AP_Generator_IE_FuelCell::init()
|
||||||
{
|
{
|
||||||
|
@ -4,9 +4,6 @@
|
|||||||
|
|
||||||
#if HAL_GENERATOR_ENABLED
|
#if HAL_GENERATOR_ENABLED
|
||||||
|
|
||||||
#include <AP_Param/AP_Param.h>
|
|
||||||
#include <GCS_MAVLink/GCS.h>
|
|
||||||
|
|
||||||
class AP_Generator_IE_FuelCell : public AP_Generator_Backend
|
class AP_Generator_IE_FuelCell : public AP_Generator_Backend
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user