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

@ -22,7 +22,7 @@ public:
* @param cookie Cookie specifying informations of the GPIOs required
* by a object.
*/
virtual ReturnValue_t initialize(GpioCookie* cookie) = 0;
virtual ReturnValue_t addGpios(GpioCookie* cookie) = 0;
/**
* @brief By implementing this function a child must provide the