AP_Notify: tidy includes

This commit is contained in:
Peter Barker 2022-03-01 12:19:12 +11:00 committed by Andrew Tridgell
parent 92b44c118f
commit db590f65f1
11 changed files with 9 additions and 15 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 "NotifyDevice.h"

View File

@ -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"

View File

@ -17,8 +17,6 @@
*/
#pragma once
#include <AP_HAL/AP_HAL.h>
#include "NotifyDevice.h"
class Buzzer: public NotifyDevice

View File

@ -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>

View File

@ -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)

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -19,7 +19,6 @@
*/
#pragma once
#include <AP_HAL/AP_HAL.h>
#include "NotifyDevice.h"
class RGBLed: public NotifyDevice {

View File

@ -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