refactored GPIO to support callbacks

This commit is contained in:
2021-02-23 13:24:05 +01:00
parent c042bbea63
commit 434d0586b3
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;
}