refactored GPIO to support callbacks

This commit is contained in:
2021-02-23 13:24:05 +01:00
committed by Robin Mueller
parent b0e9cff27c
commit c9a42e2d1e
9 changed files with 268 additions and 125 deletions

View File

@ -39,7 +39,7 @@ ReturnValue_t SolarArrayDeploymentHandler::initialize() {
return ObjectManagerIF::CHILD_INIT_FAILED;
}
result = gpioInterface->initialize(dynamic_cast<GpioCookie*>(gpioCookie));
result = gpioInterface->addGpios(dynamic_cast<GpioCookie*>(gpioCookie));
if (result != RETURN_OK) {
sif::error << "SolarArrayDeploymentHandler::initialize: Failed to initialize Gpio interface"
<< std::endl;