1
0
Fork 0

mcp23018: add return status to init (#18178)

This commit is contained in:
JohSchneider 2022-10-14 01:03:32 +00:00 committed by GitHub
parent f4f638c160
commit 3fffa51554
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

View file

@ -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