PX4IO driver: Get rid of weak function

This commit is contained in:
Lorenz Meier
2015-09-13 23:31:20 +02:00
parent 334c001cda
commit bdf5180b18
4 changed files with 11 additions and 6 deletions
+2 -2
View File
@@ -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))