Skip to content

Commit

Permalink
SITL: instansiate EmptyI2CDriver with EmptySemaphore
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat Hickey committed Jan 5, 2013
1 parent 676d2f0 commit 4472548
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/AP_HAL_AVR_SITL/HAL_AVR_SITL_Class.cpp
Expand Up @@ -34,7 +34,8 @@ static SITLAnalogIn sitlAnalogIn(&sitlState);

// use the Empty HAL for hardware we don't emulate
static Empty::EmptyGPIO emptyGPIO;
static Empty::EmptyI2CDriver emptyI2C;
static Empty::EmptySemaphore emptyI2Csemaphore;
static Empty::EmptyI2CDriver emptyI2C(&emptyI2Csemaphore);
static Empty::EmptySPIDeviceManager emptySPI;

static SITLUARTDriver sitlUart0Driver(0, &sitlState);
Expand Down

0 comments on commit 4472548

Please sign in to comment.