Browse Source

AP_FETtecOneWire: rely on AP_FETTEC_ONEWIRE_ENABLED being set in hwdef.h

gps-1.3.1
Peter Barker 3 years ago committed by Peter Barker
parent
commit
bd63ce3eb6
  1. 2
      libraries/AP_FETtecOneWire/AP_FETtecOneWire.h

2
libraries/AP_FETtecOneWire/AP_FETtecOneWire.h

@ -21,7 +21,7 @@ @@ -21,7 +21,7 @@
#include <AP_HAL/AP_HAL.h>
#ifndef AP_FETTEC_ONEWIRE_ENABLED
#define AP_FETTEC_ONEWIRE_ENABLED !HAL_MINIMIZE_FEATURES && !defined(HAL_BUILD_AP_PERIPH) && BOARD_FLASH_SIZE > 1024
#define AP_FETTEC_ONEWIRE_ENABLED !HAL_MINIMIZE_FEATURES && BOARD_FLASH_SIZE > 1024
#endif
// Support both full-duplex at 500Kbit/s as well as half-duplex at 2Mbit/s (optional feature)

Loading…
Cancel
Save