AP_Airspeed: move from HAL_NO_GCS to HAL_GCS_ENABLED
This commit is contained in:
parent
8f6bed23cf
commit
22e9ad4818
@ -598,7 +598,7 @@ void AP_Airspeed::update(bool log)
|
||||
read(i);
|
||||
}
|
||||
|
||||
#ifndef HAL_NO_GCS
|
||||
#if HAL_GCS_ENABLED
|
||||
// debugging until we get MAVLink support for 2nd airspeed sensor
|
||||
if (enabled(1)) {
|
||||
gcs().send_named_float("AS2", get_airspeed(1));
|
||||
|
@ -115,7 +115,7 @@ bool AP_Airspeed_SDP3X::init()
|
||||
|
||||
found = true;
|
||||
|
||||
#ifndef HAL_NO_GCS
|
||||
#if HAL_GCS_ENABLED
|
||||
char c = 'X';
|
||||
switch (_scale) {
|
||||
case SDP3X_SCALE_PRESSURE_SDP31:
|
||||
|
Loading…
Reference in New Issue
Block a user