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

@ -10,7 +10,7 @@ ReturnValue_t gpio::createRpiGpioConfig(GpioCookie* cookie, gpioId_t gpioId, int
return HasReturnvaluesIF::RETURN_FAILED;
}
GpioConfig_t config;
GpiodRegular config;
/* Default chipname for Raspberry Pi. There is still gpiochip1 for expansion, but most users
will not need this */
config.chipname = "gpiochip0";