diff --git a/libraries/AP_HAL_Linux/GPIO_Navigator.h b/libraries/AP_HAL_Linux/GPIO_Navigator.h index 508024b9e1..56ba66051f 100644 --- a/libraries/AP_HAL_Linux/GPIO_Navigator.h +++ b/libraries/AP_HAL_Linux/GPIO_Navigator.h @@ -14,7 +14,10 @@ public: uint8_t read(uint8_t pin) override; void write(uint8_t pin, uint8_t value) override; private: - uint8_t AllowedGPIOS[1] = {RPI_GPIO_<26>()}; + uint8_t AllowedGPIOS[2] = { + RPI_GPIO_<26>(), // Aux Output for PWMs + RPI_GPIO_<27>() // Leak detection + }; bool pinAllowed(uint8_t pin); };