fix for raspberry pi code
This commit is contained in:
parent
3d1be94e12
commit
5c56eda610
@ -12,7 +12,7 @@ ReturnValue_t gpio::createRpiGpioConfig(GpioCookie* cookie, gpioId_t gpioId, int
|
|||||||
return HasReturnvaluesIF::RETURN_FAILED;
|
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
|
/* Default chipname for Raspberry Pi. There is still gpiochip1 for expansion, but most users
|
||||||
will not need this */
|
will not need this */
|
||||||
config->chipname = "gpiochip0";
|
config->chipname = "gpiochip0";
|
||||||
|
Loading…
Reference in New Issue
Block a user