Skip to content

Commit

Permalink
AP_Generator: tidy RichenPower defines
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Feb 15, 2024
1 parent 4b5553a commit 4a53806
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion libraries/AP_Generator/AP_Generator_RichenPower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@
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

#include "AP_Generator_RichenPower.h"

#include <AP_Logger/AP_Logger.h>
#include <AP_SerialManager/AP_SerialManager.h>
#include <AP_Vehicle/AP_Vehicle.h>
Expand Down
6 changes: 4 additions & 2 deletions libraries/AP_Generator/AP_Generator_RichenPower.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#pragma once

#include "AP_Generator_Backend.h"
#include "AP_Generator_config.h"

#if AP_GENERATOR_RICHENPOWER_ENABLED

#include "AP_Generator_Backend.h"

#include <AP_Logger/AP_Logger_config.h>
#include <AP_Common/AP_Common.h>
#include <stdint.h>
Expand Down Expand Up @@ -212,4 +214,4 @@ class AP_Generator_RichenPower : public AP_Generator_Backend
// maintenamce, this is the last time we sent the warning:
uint32_t last_maintenance_warning_ms;
};
#endif
#endif // AP_GENERATOR_RICHENPOWER_ENABLED

0 comments on commit 4a53806

Please sign in to comment.