mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_HAL_ChibiOS: remove unused pin-related defines
Unused
This commit is contained in:
parent
b9099f7b88
commit
e7f1a273e5
@ -48,9 +48,6 @@ static struct gpio_entry {
|
||||
uint16_t isr_quota;
|
||||
} _gpio_tab[] = HAL_GPIO_PINS;
|
||||
|
||||
#define NUM_PINS ARRAY_SIZE(_gpio_tab)
|
||||
#define PIN_ENABLED(pin) ((pin)<NUM_PINS && _gpio_tab[pin].enabled)
|
||||
|
||||
/*
|
||||
map a user pin number to a GPIO table entry
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user