mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: move definition of HAL_WITH_POSTYPE_DOUBLE into AP_HAL_Boards.h
other libraries need to know if we are doing double-precision offsets
This commit is contained in:
parent
50401b749b
commit
d70f5b92e0
|
@ -381,4 +381,8 @@
|
|||
#error "HAL_GPIO_LED_OFF must not be defined, it is implicitly !HAL_GPIO_LED_ON"
|
||||
#endif
|
||||
|
||||
#ifndef HAL_WITH_POSTYPE_DOUBLE
|
||||
#define HAL_WITH_POSTYPE_DOUBLE BOARD_FLASH_SIZE > 1024
|
||||
#endif
|
||||
|
||||
#define HAL_GPIO_LED_OFF (!HAL_GPIO_LED_ON)
|
||||
|
|
Loading…
Reference in New Issue