mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
HAL_Linux: add HAL_ prefix to GPIO_INPUT
This commit is contained in:
parent
1f1af0b0ea
commit
d2b5a1cfac
@ -66,7 +66,7 @@ void LinuxGPIO::pinMode(uint8_t pin, uint8_t output)
|
||||
hal.scheduler->panic("invalid pin number");
|
||||
return;
|
||||
}
|
||||
if (output == GPIO_INPUT) {
|
||||
if (output == HAL_GPIO_INPUT) {
|
||||
*gpio_bank[bank].oe |= (1U<<bankpin);
|
||||
} else {
|
||||
*gpio_bank[bank].oe &= ~(1U<<bankpin);
|
||||
|
Loading…
Reference in New Issue
Block a user