AP_HAL: add HAL_ENABLE_SENDING_STATS to enable sending stats over CAN

This commit is contained in:
bugobliterator 2023-07-09 14:11:43 +10:00 committed by Andrew Tridgell
parent b6605f5877
commit 1b3de3acf2

View File

@ -342,3 +342,7 @@
#if HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
#error "2MB board with minimize features?!"
#endif
#ifndef HAL_ENABLE_SENDING_STATS
#define HAL_ENABLE_SENDING_STATS BOARD_FLASH_SIZE >= 256
#endif