ardupilot/libraries/AP_HAL_PX4/AP_HAL_PX4.cpp

28 lines
610 B
C++
Raw Normal View History

2012-10-27 02:18:51 -03:00
#include <AP_HAL.h>
#include "AP_HAL_PX4.h"
#include "HAL_PX4.h"
2012-10-27 02:41:46 -03:00
#include "Console.h"
2012-10-27 02:18:51 -03:00
using namespace AP_HAL;
using namespace AP_HAL_PX4;
2012-10-27 02:41:46 -03:00
static PX4ConsoleDriver px4ConsoleDriver;
2012-10-27 02:18:51 -03:00
const HAL_PX4 AP_HAL_PX4_Instance(
(UARTDriver*) NULL,
(UARTDriver*) NULL,
(UARTDriver*) NULL,
(UARTDriver*) NULL,
(I2CDriver*) NULL,
(SPIDriver*) NULL,
(AnalogIn*) NULL,
(Storage*) NULL,
(Dataflash*) NULL,
2012-10-27 02:41:46 -03:00
(ConsoleDriver*) &px4ConsoleDriver,
2012-10-27 02:18:51 -03:00
(GPIO*) NULL,
(RCInput*) NULL,
(RCOutput*) NULL,
(Scheduler*) NULL);