GCS_MAVLink: use HAL_MEM_CLASS for status sizes

This commit is contained in:
Andrew Tridgell 2019-09-30 09:08:44 +10:00
parent 889b18022b
commit 0deef76875
1 changed files with 1 additions and 1 deletions

View File

@ -812,7 +812,7 @@ private:
void update_sensor_status_flags(); void update_sensor_status_flags();
#if HAL_CPU_CLASS <= HAL_CPU_CLASS_150 || CONFIG_HAL_BOARD == HAL_BOARD_SITL #if HAL_MEM_CLASS <= HAL_MEM_CLASS_192 || CONFIG_HAL_BOARD == HAL_BOARD_SITL
static const uint8_t _status_capacity = 5; static const uint8_t _status_capacity = 5;
#else #else
static const uint8_t _status_capacity = 30; static const uint8_t _status_capacity = 30;