mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: use HAL_MEM_CLASS for status sizes
This commit is contained in:
parent
889b18022b
commit
0deef76875
|
@ -812,7 +812,7 @@ private:
|
|||
|
||||
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;
|
||||
#else
|
||||
static const uint8_t _status_capacity = 30;
|
||||
|
|
Loading…
Reference in New Issue