mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 17:53:34 +08:00
drivers/uavcan: make firmware server available on both CAN1/CAN2 always (if enabled)
- uavcan firmware server no longer shuts down when arming (nodes might restart in flight) - always handle UAVCAN parameters with or without the FW server active - remove legacy ESC enumeration in FW server
This commit is contained in:
@@ -66,18 +66,6 @@
|
||||
// ioctl interface
|
||||
#define _UAVCAN_IOC(_n) (_IOC(_UAVCAN_IOCBASE, _n))
|
||||
#define _UAVCAN_IOCBASE (0x4000) // IOCTL base for module UAVCAN
|
||||
/*
|
||||
* Query if node identification is in progress. Returns:
|
||||
* EINVAL - not applicable in the current operating mode
|
||||
* ETIME - network discovery complete
|
||||
* OK (0) - network discovery in progress
|
||||
*/
|
||||
#define UAVCAN_IOCG_NODEID_INPROGRESS _UAVCAN_IOC(1)
|
||||
/*
|
||||
* Set hardpoint command. Accepts a pointer to uavcan::equipment::hardpoint::Command; returns nothing.
|
||||
* The pointer may be invalidated once the call returns.
|
||||
*/
|
||||
#define UAVCAN_IOCS_HARDPOINT_SET _UAVCAN_IOC(10)
|
||||
|
||||
// public prototypes
|
||||
extern "C" __EXPORT int uavcan_main(int argc, char *argv[]);
|
||||
|
||||
Reference in New Issue
Block a user