AP_RPM: tidy includes

This commit is contained in:
Peter Barker 2022-03-01 12:19:19 +11:00 committed by Andrew Tridgell
parent 5bc20af9d6
commit 5ddd50fefb
2 changed files with 2 additions and 6 deletions

View File

@ -15,7 +15,7 @@
#pragma once
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL.h>
#include <AP_HAL/AP_HAL_Boards.h>
#include <AP_Param/AP_Param.h>
#include <AP_Math/AP_Math.h>
#include "AP_RPM_Params.h"
@ -32,9 +32,7 @@ class AP_RPM
public:
AP_RPM();
/* Do not allow copies */
AP_RPM(const AP_RPM &other) = delete;
AP_RPM &operator=(const AP_RPM&) = delete;
CLASS_NO_COPY(AP_RPM); /* Do not allow copies */
// RPM driver types
enum RPM_Type {

View File

@ -14,8 +14,6 @@
*/
#pragma once
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL.h>
#include "AP_RPM.h"
class AP_RPM_Backend