mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 09:23:34 +08:00
platform: restructure (NuttX) architecture-specific code
updated: tone_alarm, px4io_serial, px4_micro_hal
This commit is contained in:
@@ -39,14 +39,14 @@
|
||||
|
||||
#include "px4io_driver.h"
|
||||
|
||||
#include "px4io_serial.h"
|
||||
#include <px4io_serial/arch_px4io_serial.h>
|
||||
|
||||
static PX4IO_serial *g_interface;
|
||||
|
||||
device::Device
|
||||
*PX4IO_serial_interface()
|
||||
{
|
||||
return new PX4IO_INTERFACE_CLASS();
|
||||
return new ArchPX4IOSerial();
|
||||
}
|
||||
|
||||
PX4IO_serial::PX4IO_serial() :
|
||||
|
||||
Reference in New Issue
Block a user