mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
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>
|
#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)))
|
#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
|
#if !AP_TEMPERATURE_SENSOR_DUMMY_METHODS_ENABLED
|
||||||
|
Loading…
Reference in New Issue
Block a user