mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-03 04:03:59 -04:00
AP_RPM: replace header guard with pragma once
This commit is contained in:
parent
0332cde374
commit
109f807260
@ -13,9 +13,7 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __RPM_H__
|
||||
#define __RPM_H__
|
||||
#pragma once
|
||||
|
||||
#include <AP_Common/AP_Common.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
@ -97,4 +95,3 @@ private:
|
||||
void detect_instance(uint8_t instance);
|
||||
void update_instance(uint8_t instance);
|
||||
};
|
||||
#endif // __RPM_H__
|
||||
|
@ -13,9 +13,7 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __AP_RPM_BACKEND_H__
|
||||
#define __AP_RPM_BACKEND_H__
|
||||
#pragma once
|
||||
|
||||
#include <AP_Common/AP_Common.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
@ -39,4 +37,3 @@ protected:
|
||||
AP_RPM &ap_rpm;
|
||||
AP_RPM::RPM_State &state;
|
||||
};
|
||||
#endif // __AP_RPM_BACKEND_H__
|
||||
|
@ -13,9 +13,7 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef AP_RPM_PX4_PWM_H
|
||||
#define AP_RPM_PX4_PWM_H
|
||||
#pragma once
|
||||
|
||||
#include "AP_RPM.h"
|
||||
#include "RPM_Backend.h"
|
||||
@ -41,5 +39,3 @@ private:
|
||||
|
||||
ModeFilterFloat_Size5 signal_quality_filter {3};
|
||||
};
|
||||
|
||||
#endif // AP_RPM_PX4_PWM_H
|
||||
|
@ -13,9 +13,7 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef AP_RPM_SITL_H
|
||||
#define AP_RPM_SITL_H
|
||||
#pragma once
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
|
||||
@ -37,4 +35,3 @@ private:
|
||||
};
|
||||
|
||||
#endif // CONFIG_HAL_BOARD
|
||||
#endif // AP_RPM_SITL_H
|
||||
|
Loading…
Reference in New Issue
Block a user