Skip to content

Commit

Permalink
add comment explaining usage of pin validation wait time
Browse files Browse the repository at this point in the history
  • Loading branch information
KmakD committed Nov 19, 2024
1 parent 6e81978 commit 6969a31
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 6969a31

Please sign in to comment.