mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_FETtecOneWire: rely on AP_FETTEC_ONEWIRE_ENABLED being set in hwdef.h
This commit is contained in:
parent
fd97d79cb4
commit
bd63ce3eb6
@ -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…
Reference in New Issue
Block a user