Skip to content

Commit

Permalink
AP_TemperatureSensor: allow AP_TEMPERATURE_SENSOR_DUMMY_METHODS_ENABL…
Browse files Browse the repository at this point in the history
…ED to be overridden
  • Loading branch information
peterbarker committed Sep 22, 2024
1 parent 83c9b32 commit 44c1e9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/AP_TemperatureSensor/AP_TemperatureSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44c1e9b

Please sign in to comment.