mcp23018: add return status to init (#18178)
This commit is contained in:
parent
f4f638c160
commit
3fffa51554
2 changed files with 11 additions and 5 deletions
|
@ -33,7 +33,7 @@ enum {
|
|||
/**
|
||||
* Init expander and any other dependent drivers
|
||||
*/
|
||||
void mcp23018_init(uint8_t slave_addr);
|
||||
bool mcp23018_init(uint8_t slave_addr);
|
||||
|
||||
/**
|
||||
* Configure input/output to a given port
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue