Browse Source

AP_HAL: rename Sempahore.h to Semaphores.h

this is needed to allow build on MacOS, as its case-insensitive
filesystem picks up the NuttX semaphore.h
master
Andrew Tridgell 12 years ago
parent
commit
a3c26d44e4
  1. 2
      libraries/AP_HAL/AP_HAL.h
  2. 0
      libraries/AP_HAL/Semaphores.h
  3. 2
      libraries/AP_HAL_AVR/SPIDevice_SPI0.cpp
  4. 2
      libraries/AP_HAL_AVR/SPIDevice_SPI2.cpp
  5. 2
      libraries/AP_HAL_AVR/SPIDriver.h
  6. 2
      libraries/AP_HAL_AVR/Semaphore.cpp
  7. 0
      libraries/AP_HAL_AVR/Semaphores.h
  8. 2
      libraries/AP_HAL_Empty/AP_HAL_Empty_Private.h
  9. 2
      libraries/AP_HAL_Empty/SPIDriver.h
  10. 2
      libraries/AP_HAL_Empty/Semaphore.cpp
  11. 0
      libraries/AP_HAL_Empty/Semaphores.h

2
libraries/AP_HAL/AP_HAL.h

@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
#include "RCInput.h"
#include "RCOutput.h"
#include "Scheduler.h"
#include "Semaphore.h"
#include "Semaphores.h"
#include "Util.h"
#include "utility/Print.h"

0
libraries/AP_HAL/Semaphore.h → libraries/AP_HAL/Semaphores.h

2
libraries/AP_HAL_AVR/SPIDevice_SPI0.cpp

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
#include <AP_HAL.h>
#include "SPIDevices.h"
#include "GPIO.h"
#include "Semaphore.h"
#include "Semaphores.h"
#include "pins_arduino_mega.h"
using namespace AP_HAL_AVR;

2
libraries/AP_HAL_AVR/SPIDevice_SPI2.cpp

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
#include <AP_HAL.h>
#include "SPIDevices.h"
#include "GPIO.h"
#include "Semaphore.h"
#include "Semaphores.h"
#include "pins_arduino_mega.h"
using namespace AP_HAL_AVR;

2
libraries/AP_HAL_AVR/SPIDriver.h

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
#include "AP_HAL_AVR_Namespace.h"
#include "GPIO.h"
#include "SPIDevices.h"
#include "Semaphore.h"
#include "Semaphores.h"
class AP_HAL_AVR::APM1SPIDeviceManager : public AP_HAL::SPIDeviceManager {
public:

2
libraries/AP_HAL_AVR/Semaphore.cpp

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
#include <AP_HAL.h>
#include <AP_HAL_AVR.h>
#include "Semaphore.h"
#include "Semaphores.h"
using namespace AP_HAL_AVR;
extern const AP_HAL::HAL& hal;

0
libraries/AP_HAL_AVR/Semaphore.h → libraries/AP_HAL_AVR/Semaphores.h

2
libraries/AP_HAL_Empty/AP_HAL_Empty_Private.h

@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
#include "GPIO.h"
#include "RCInput.h"
#include "RCOutput.h"
#include "Semaphore.h"
#include "Semaphores.h"
#include "Scheduler.h"
#include "Util.h"
#include "PrivateMember.h"

2
libraries/AP_HAL_Empty/SPIDriver.h

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
#define __AP_HAL_EMPTY_SPIDRIVER_H__
#include <AP_HAL_Empty.h>
#include "Semaphore.h"
#include "Semaphores.h"
class Empty::EmptySPIDeviceDriver : public AP_HAL::SPIDeviceDriver {
public:

2
libraries/AP_HAL_Empty/Semaphore.cpp

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
#include "Semaphore.h"
#include "Semaphores.h"
using namespace Empty;

0
libraries/AP_HAL_Empty/Semaphore.h → libraries/AP_HAL_Empty/Semaphores.h

Loading…
Cancel
Save