mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Generator: tidy RichenPower defines
This commit is contained in:
parent
9c97dc99b1
commit
c2f77d0593
@ -13,10 +13,12 @@
|
|||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "AP_Generator_RichenPower.h"
|
#include "AP_Generator_config.h"
|
||||||
|
|
||||||
#if AP_GENERATOR_RICHENPOWER_ENABLED
|
#if AP_GENERATOR_RICHENPOWER_ENABLED
|
||||||
|
|
||||||
|
#include "AP_Generator_RichenPower.h"
|
||||||
|
|
||||||
#include <AP_Logger/AP_Logger.h>
|
#include <AP_Logger/AP_Logger.h>
|
||||||
#include <AP_SerialManager/AP_SerialManager.h>
|
#include <AP_SerialManager/AP_SerialManager.h>
|
||||||
#include <AP_Vehicle/AP_Vehicle.h>
|
#include <AP_Vehicle/AP_Vehicle.h>
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "AP_Generator_Backend.h"
|
#include "AP_Generator_config.h"
|
||||||
|
|
||||||
#if AP_GENERATOR_RICHENPOWER_ENABLED
|
#if AP_GENERATOR_RICHENPOWER_ENABLED
|
||||||
|
|
||||||
|
#include "AP_Generator_Backend.h"
|
||||||
|
|
||||||
#include <AP_Logger/AP_Logger_config.h>
|
#include <AP_Logger/AP_Logger_config.h>
|
||||||
#include <AP_Common/AP_Common.h>
|
#include <AP_Common/AP_Common.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@ -212,4 +214,4 @@ private:
|
|||||||
// maintenamce, this is the last time we sent the warning:
|
// maintenamce, this is the last time we sent the warning:
|
||||||
uint32_t last_maintenance_warning_ms;
|
uint32_t last_maintenance_warning_ms;
|
||||||
};
|
};
|
||||||
#endif
|
#endif // AP_GENERATOR_RICHENPOWER_ENABLED
|
||||||
|
Loading…
Reference in New Issue
Block a user