mirror of https://github.com/ArduPilot/ardupilot
AP_TemperatureSensor: compile all of TemperatureSensor in on boards with >2048 flash
this includes SITL but should also include CubeRed etc
This commit is contained in:
parent
9a497fe716
commit
a8ce43426b
|
@ -9,7 +9,7 @@
|
|||
#ifndef AP_TEMPERATURE_SENSOR_ENABLED
|
||||
#if BOARD_FLASH_SIZE <= 1024
|
||||
#define AP_TEMPERATURE_SENSOR_ENABLED 0
|
||||
#elif (CONFIG_HAL_BOARD == HAL_BOARD_SITL)
|
||||
#elif BOARD_FLASH_SIZE > 2048
|
||||
#define AP_TEMPERATURE_SENSOR_ENABLED 1
|
||||
#else
|
||||
#define AP_TEMPERATURE_SENSOR_ENABLED 2
|
||||
|
|
Loading…
Reference in New Issue