AP_HAL_AVR: header include fixups

This commit is contained in:
Pat Hickey 2012-08-22 17:31:52 -07:00 committed by Andrew Tridgell
parent 0d342a3293
commit 75279dfa43
4 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#define __AP_HAL_AVR_PWM_OUTPUT_H__ #define __AP_HAL_AVR_PWM_OUTPUT_H__
#include <AP_HAL.h> #include <AP_HAL.h>
#include "AP_HAL_AVR_Namespace.h"
class AP_HAL_AVR::APM1PWMOutput : public AP_HAL::PWMOutput { class AP_HAL_AVR::APM1PWMOutput : public AP_HAL::PWMOutput {
public: public:

View File

@ -3,6 +3,7 @@
#define __AP_HAL_ARDUINO_SPI_DRIVER_H__ #define __AP_HAL_ARDUINO_SPI_DRIVER_H__
#include <AP_HAL.h> #include <AP_HAL.h>
#include "AP_HAL_AVR_Namespace.h"
class AP_HAL_AVR::ArduinoSPIDriver : public AP_HAL::SPIDriver { class AP_HAL_AVR::ArduinoSPIDriver : public AP_HAL::SPIDriver {
public: public:

View File

@ -4,6 +4,7 @@
#define __AP_HAL_AVR_STORAGE_H__ #define __AP_HAL_AVR_STORAGE_H__
#include <AP_HAL.h> #include <AP_HAL.h>
#include "AP_HAL_AVR_Namespace.h"
class AP_HAL_AVR::AVREEPROMStorage : public AP_HAL::Storage { class AP_HAL_AVR::AVREEPROMStorage : public AP_HAL::Storage {
public: public:

View File

@ -3,6 +3,9 @@
#define __AP_HAL_AVR_UART_DRIVER_H__ #define __AP_HAL_AVR_UART_DRIVER_H__
#include <stdint.h> #include <stdint.h>
#include <stdarg.h>
#include <avr/interrupt.h>
#include <AP_Common.h> #include <AP_Common.h>
#include <AP_HAL.h> #include <AP_HAL.h>