mirror of https://github.com/ArduPilot/ardupilot
AP_TemperatureSensor: allow AP_TEMPERATURE_SENSOR_DUMMY_METHODS_ENABLED to be overridden
This commit is contained in:
parent
83c9b32093
commit
44c1e9b896
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue