AP_TemperatureSensor: allow AP_TEMPERATURE_SENSOR_DUMMY_METHODS_ENABLED to be overridden

This commit is contained in:
Peter Barker 2024-09-18 19:05:35 +10:00 committed by Peter Barker
parent 83c9b32093
commit 44c1e9b896
1 changed files with 2 additions and 0 deletions

View File

@ -19,7 +19,9 @@
#include <AP_Vehicle/AP_Vehicle_Type.h>
#ifndef AP_TEMPERATURE_SENSOR_DUMMY_METHODS_ENABLED
#define AP_TEMPERATURE_SENSOR_DUMMY_METHODS_ENABLED (!(APM_BUILD_TYPE(APM_BUILD_ArduSub) || (AP_TEMPERATURE_SENSOR_ENABLED == 1)))
#endif
#if !AP_TEMPERATURE_SENSOR_DUMMY_METHODS_ENABLED