From 6969a3159719700d306288d06eddac476d354522 Mon Sep 17 00:00:00 2001 From: kmakd Date: Tue, 19 Nov 2024 10:10:51 +0000 Subject: [PATCH] add comment explaining usage of pin validation wait time --- .../src/panther_system/gpio/gpio_controller.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panther_hardware_interfaces/src/panther_system/gpio/gpio_controller.cpp b/panther_hardware_interfaces/src/panther_system/gpio/gpio_controller.cpp index 76212c6a..fdb6ba2a 100644 --- a/panther_hardware_interfaces/src/panther_system/gpio/gpio_controller.cpp +++ b/panther_hardware_interfaces/src/panther_system/gpio/gpio_controller.cpp @@ -177,6 +177,8 @@ bool GPIOControllerPTH12X::ChargerEnable(const bool enable) bool GPIOControllerPTH12X::LEDControlEnable(const bool enable) { + // pin_validation_wait_time=10ms used due to slow pin state transition + // on pin loaded by high 100nF capacity in SBC Overlay v1.4 return gpio_driver_->SetPinValue(GPIOPin::LED_SBC_SEL, enable, std::chrono::milliseconds(10)); }