AP_BoardConfig: removal of legacy UAVCAN support

This commit is contained in:
Eugene Shamaev 2017-04-13 20:49:42 +03:00 committed by Andrew Tridgell
parent 0c4a68314b
commit 67a6e651d6
2 changed files with 0 additions and 20 deletions

View File

@ -5,16 +5,6 @@
#include <AP_Param/AP_Param.h>
#include <sys/ioctl.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 && !defined(CONFIG_ARCH_BOARD_PX4FMU_V1)
#define _UAVCAN_IOCBASE (0x4000) // IOCTL base for module UAVCAN
#define _UAVCAN_IOC(_n) (_IOC(_UAVCAN_IOCBASE, _n))
#define UAVCAN_IOCG_NODEID_INPROGRESS _UAVCAN_IOC(1) // query if node identification is in progress
#define UAVCAN_IOCS_HARDPOINT_SET _UAVCAN_IOC(10) // control hardpoint (e.g. OpenGrab EPM)
#endif
extern "C" typedef int (*main_fn_t)(int argc, char **);
class AP_BoardConfig {

View File

@ -52,16 +52,6 @@ extern "C" {
int tone_alarm_main(int, char **);
};
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 && !defined(CONFIG_ARCH_BOARD_PX4FMU_V1)
/*
this is needed for the code to wait for CAN startup
*/
#define _UAVCAN_IOCBASE (0x4000) // IOCTL base for module UAVCAN
#define _UAVCAN_IOC(_n) (_IOC(_UAVCAN_IOCBASE, _n))
#define UAVCAN_IOCG_NODEID_INPROGRESS _UAVCAN_IOC(1) // query if node identification is in progress
#endif
/*
setup PWM pins
*/