mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Notify: tidy includes
This commit is contained in:
parent
92b44c118f
commit
db590f65f1
@ -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 "NotifyDevice.h"
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
#include <AP_Common/AP_Common.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#include "NotifyDevice.h"
|
||||
|
||||
|
@ -17,8 +17,6 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#include "NotifyDevice.h"
|
||||
|
||||
class Buzzer: public NotifyDevice
|
||||
|
@ -16,7 +16,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
#include <AP_HAL_Linux/Led_Sysfs.h>
|
||||
|
@ -13,6 +13,8 @@
|
||||
|
||||
#include "DiscreteRGBLed.h"
|
||||
|
||||
#include <AP_HAL/HAL.h>
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
DiscreteRGBLed::DiscreteRGBLed(uint16_t red, uint16_t green, uint16_t blue, bool normal_polarity)
|
||||
|
@ -15,10 +15,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AP_Common/AP_Common.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <AP_Param/AP_Param.h>
|
||||
|
||||
#include "NotifyDevice.h"
|
||||
|
||||
class ExternalLED: public NotifyDevice
|
||||
|
@ -16,7 +16,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_LINUX
|
||||
#include <AP_HAL_Linux/Led_Sysfs.h>
|
||||
|
@ -15,6 +15,8 @@
|
||||
|
||||
#include "PixRacerLED.h"
|
||||
|
||||
#include <AP_HAL/HAL.h>
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
|
||||
|
||||
#ifndef HAL_GPIO_A_LED_PIN
|
||||
|
@ -14,9 +14,6 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <AP_Common/AP_Common.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#include "RGBLed.h"
|
||||
|
||||
class PixRacerLED: public RGBLed
|
||||
|
@ -19,7 +19,6 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include "NotifyDevice.h"
|
||||
|
||||
class RGBLed: public NotifyDevice {
|
||||
|
@ -16,7 +16,7 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
#include <SITL/SITL.h>
|
||||
|
||||
#ifdef WITH_SITL_RGBLED
|
||||
|
Loading…
Reference in New Issue
Block a user