mirror of https://github.com/ArduPilot/ardupilot
AP_Relay: use correct define for DroneCAN relay
This commit is contained in:
parent
0151dabf52
commit
cbe22af35f
|
@ -95,7 +95,7 @@ private:
|
||||||
// Get relay state from pin number
|
// Get relay state from pin number
|
||||||
bool get_pin(const int16_t pin) const;
|
bool get_pin(const int16_t pin) const;
|
||||||
|
|
||||||
#if HAL_ENABLE_DRONECAN_DRIVERS
|
#if AP_RELAY_DRONECAN_ENABLED
|
||||||
// Virtual DroneCAN pins
|
// Virtual DroneCAN pins
|
||||||
class DroneCAN {
|
class DroneCAN {
|
||||||
public:
|
public:
|
||||||
|
@ -130,7 +130,7 @@ private:
|
||||||
} state[num_pins];
|
} state[num_pins];
|
||||||
|
|
||||||
} dronecan;
|
} dronecan;
|
||||||
#endif // HAL_ENABLE_DRONECAN_DRIVERS
|
#endif // AP_RELAY_DRONECAN_ENABLED
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue