Browse Source

DataFlash: added SITL header

master
Andrew Tridgell 12 years ago
parent
commit
e57834d763
  1. 6
      libraries/AP_HAL_AVR/Scheduler.cpp
  2. 1
      libraries/DataFlash/DataFlash.h

6
libraries/AP_HAL_AVR/Scheduler.cpp

@ -1,3 +1,7 @@ @@ -1,3 +1,7 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include <AP_HAL.h>
#if (CONFIG_HAL_BOARD == HAL_BOARD_APM1 || CONFIG_HAL_BOARD == HAL_BOARD_APM2)
#include <avr/io.h>
#include <avr/interrupt.h>
@ -216,3 +220,5 @@ void AVRScheduler::reboot() { @@ -216,3 +220,5 @@ void AVRScheduler::reboot() {
for(;;);
}
#endif

1
libraries/DataFlash/DataFlash.h

@ -93,5 +93,6 @@ public: @@ -93,5 +93,6 @@ public:
#include "DataFlash_APM1.h"
#include "DataFlash_APM2.h"
#include "DataFlash_SITL.h"
#endif

Loading…
Cancel
Save