mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_UAVCAN: fix redefinition of UAVCAN_NODE_POOL_BLOCK_SIZE warning
This commit is contained in:
parent
cbf6d44277
commit
fb3f761fc7
@ -41,6 +41,9 @@ void loop();
|
||||
const AP_HAL::HAL& hal = AP_HAL::get_HAL();
|
||||
|
||||
#define UAVCAN_NODE_POOL_SIZE 8192
|
||||
#ifdef UAVCAN_NODE_POOL_BLOCK_SIZE
|
||||
#undef UAVCAN_NODE_POOL_BLOCK_SIZE
|
||||
#endif
|
||||
#define UAVCAN_NODE_POOL_BLOCK_SIZE 256
|
||||
|
||||
#define debug_uavcan(fmt, args...) do { hal.console->printf(fmt, ##args); } while (0)
|
||||
|
Loading…
Reference in New Issue
Block a user