mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL_Linux: fix navigator pin whitelist
This commit is contained in:
parent
85188eb486
commit
6be65bd4e0
@ -14,8 +14,8 @@ public:
|
|||||||
uint8_t read(uint8_t pin) override;
|
uint8_t read(uint8_t pin) override;
|
||||||
void write(uint8_t pin, uint8_t value) override;
|
void write(uint8_t pin, uint8_t value) override;
|
||||||
private:
|
private:
|
||||||
uint8_t AllowedGPIOS[2] = {
|
uint8_t AllowedGPIOS[3] = {
|
||||||
RPI_GPIO_<26>(), // Aux Output for PWMs
|
RPI_GPIO_<18>(), // Aux Output for PWMs
|
||||||
RPI_GPIO_<27>() // Leak detection
|
RPI_GPIO_<27>() // Leak detection
|
||||||
};
|
};
|
||||||
bool pinAllowed(uint8_t pin);
|
bool pinAllowed(uint8_t pin);
|
||||||
|
Loading…
Reference in New Issue
Block a user