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

@ -13,7 +13,7 @@ LibgpiodTest::LibgpiodTest(object_id_t objectId, object_id_t gpioIfobjectId,
if (gpioInterface == nullptr) {
sif::error << "LibgpiodTest::LibgpiodTest: Invalid Gpio interface." << std::endl;
}
gpioInterface->initialize(gpioCookie);
gpioInterface->addGpios(gpioCookie);
testCase = TestCases::LOOPBACK;
}