fix for raspberry pi code

This commit is contained in:
Robin Müller 2021-09-22 12:19:30 +02:00
parent 3d1be94e12
commit 5c56eda610
1 changed files with 1 additions and 1 deletions

View File

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