AP_HAL_PX4: rename AP_HAL_Empty instances

This commit is contained in:
Lucas De Marchi 2015-12-07 17:01:34 -02:00 committed by Andrew Tridgell
parent 6011eefb55
commit 503533c6fe
2 changed files with 3 additions and 3 deletions

View File

@ -32,8 +32,8 @@
using namespace PX4;
static PX4I2CDriver i2cDriver;
static Empty::EmptySPIDeviceManager spiDeviceManager;
//static Empty::EmptyGPIO gpioDriver;
static Empty::SPIDeviceManager spiDeviceManager;
//static Empty::GPIO gpioDriver;
static PX4Scheduler schedulerInstance;
static PX4Storage storageDriver;

View File

@ -44,7 +44,7 @@ public:
private:
// we use an empty semaphore as the underlying I2C class already has a semaphore
Empty::EmptySemaphore semaphore;
Empty::Semaphore semaphore;
PX4_I2C *px4_i2c = nullptr;
};