options.h 327 B

123456789101112
  1. /*
  2. control optional behaviour in the firmware at build time
  3. */
  4. #pragma once
  5. #include "board_config.h"
  6. // do we support DroneCAN connnection to flight controller?
  7. #define AP_DRONECAN_ENABLED defined(PIN_CAN_TX) && defined(PIN_CAN_RX)
  8. // do we support MAVLink connnection to flight controller?
  9. #define AP_MAVLINK_ENABLED 1