mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
AP_PiccoloCAN: limit to boards with >2MB of flash
This commit is contained in:
committed by
Randy Mackay
parent
5842f5616c
commit
f25ca332ac
@@ -20,5 +20,5 @@
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef AP_PICCOLOCAN_ENABLED
|
||||
#define AP_PICCOLOCAN_ENABLED HAL_NUM_CAN_IFACES
|
||||
#define AP_PICCOLOCAN_ENABLED (HAL_NUM_CAN_IFACES && HAL_PROGRAM_SIZE_LIMIT_KB > 2048)
|
||||
#endif // AP_PICCOLOCAN_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user