mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 15:03:34 +08:00
PX4IO driver: Get rid of weak function
This commit is contained in:
@@ -68,9 +68,9 @@
|
||||
|
||||
#include <modules/px4iofirmware/protocol.h>
|
||||
|
||||
#ifdef PX4IO_SERIAL_BASE
|
||||
#include "px4io_driver.h"
|
||||
|
||||
device::Device *PX4IO_serial_interface();
|
||||
#ifdef PX4IO_SERIAL_BASE
|
||||
|
||||
/* serial register accessors */
|
||||
#define REG(_x) (*(volatile uint32_t *)(PX4IO_SERIAL_BASE + _x))
|
||||
|
||||
Reference in New Issue
Block a user