HAL_AVR: corrected includes to replace #include "$HEADER" with #inlcude "utility/$HEADER"
adding -I for EVERY DIRECTORY isn't desirable http://gcc.gnu.org/onlinedocs/cpp/Search-Path.html
This commit is contained in:
parent
9f612f6f78
commit
4e7fea787b
@ -5,7 +5,7 @@
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "print_vprintf.h"
|
||||
#include "utility/print_vprintf.h"
|
||||
|
||||
#include "Console.h"
|
||||
using namespace AP_HAL_AVR;
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <avr/interrupt.h>
|
||||
#include <avr/io.h>
|
||||
|
||||
#include "pins_arduino_mega.h"
|
||||
#include "utility/pins_arduino_mega.h"
|
||||
|
||||
#include "GPIO.h"
|
||||
using namespace AP_HAL_AVR;
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "SPIDriver.h"
|
||||
#include "SPIDevices.h"
|
||||
#include "GPIO.h"
|
||||
#include "pins_arduino_mega.h"
|
||||
#include "utility/pins_arduino_mega.h"
|
||||
using namespace AP_HAL_AVR;
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
@ -5,7 +5,7 @@
|
||||
#include <AP_HAL.h>
|
||||
#include "SPIDriver.h"
|
||||
#include "SPIDevices.h"
|
||||
#include "pins_arduino_mega.h"
|
||||
#include "utility/pins_arduino_mega.h"
|
||||
using namespace AP_HAL_AVR;
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "SPIDevices.h"
|
||||
#include "GPIO.h"
|
||||
#include "Semaphores.h"
|
||||
#include "pins_arduino_mega.h"
|
||||
#include "utility/pins_arduino_mega.h"
|
||||
using namespace AP_HAL_AVR;
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include "SPIDevices.h"
|
||||
#include "GPIO.h"
|
||||
#include "Semaphores.h"
|
||||
#include "pins_arduino_mega.h"
|
||||
#include "utility/pins_arduino_mega.h"
|
||||
using namespace AP_HAL_AVR;
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "GPIO.h"
|
||||
#include "Semaphores.h"
|
||||
|
||||
#include "pins_arduino_mega.h"
|
||||
#include "utility/pins_arduino_mega.h"
|
||||
|
||||
using namespace AP_HAL_AVR;
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <avr/interrupt.h>
|
||||
|
||||
#include "Scheduler.h"
|
||||
#include "ISRRegistry.h"
|
||||
#include "utility/ISRRegistry.h"
|
||||
using namespace AP_HAL_AVR;
|
||||
|
||||
extern const AP_HAL::HAL& hal;
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <AP_HAL.h>
|
||||
#include <AP_Math.h>
|
||||
|
||||
#include "print_vprintf.h"
|
||||
#include "utility/print_vprintf.h"
|
||||
#include "UARTDriver.h"
|
||||
using namespace AP_HAL_AVR;
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_APM1 || CONFIG_HAL_BOARD == HAL_BOARD_APM2
|
||||
|
||||
#include "Util.h"
|
||||
#include "print_vprintf.h"
|
||||
#include "utility/print_vprintf.h"
|
||||
using namespace AP_HAL_AVR;
|
||||
|
||||
/* Helper class implements AP_HAL::Print so we can use utility/vprintf */
|
||||
|
Loading…
Reference in New Issue
Block a user