mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: move GPIO ON/off defaults from AP_HAL_ChibiOS to AP_HAL
these can be reused across different vehicles
This commit is contained in:
parent
e1f3864349
commit
a65e06e0a9
|
@ -18,16 +18,6 @@
|
|||
|
||||
#include "AP_HAL_ChibiOS.h"
|
||||
|
||||
#ifndef HAL_GPIO_LED_ON
|
||||
#define HAL_GPIO_LED_ON 0
|
||||
#endif
|
||||
|
||||
#ifdef HAL_GPIO_LED_OFF
|
||||
#error "HAL_GPIO_LED_OFF must not be defined, it is implicitly !HAL_GPIO_LED_ON"
|
||||
#endif
|
||||
|
||||
#define HAL_GPIO_LED_OFF (!HAL_GPIO_LED_ON)
|
||||
|
||||
/*
|
||||
pin types for alternative configuration
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue