mirror of
https://github.com/FunKey-Project/FunKey-GPIO-Mapping.git
synced 2025-12-12 09:48:51 +01:00
corrected printf args
This commit is contained in:
parent
2922367bc8
commit
66fc9ce9d9
@ -46,7 +46,7 @@ bool pcal6416a_init(void) {
|
|||||||
// ERROR HANDLING; you can check errno to see what went wrong
|
// ERROR HANDLING; you can check errno to see what went wrong
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
i2c_expander_addr = 0;
|
i2c_expander_addr = 0;
|
||||||
|
|
||||||
/// Probing PCAL9539A chip
|
/// Probing PCAL9539A chip
|
||||||
@ -71,7 +71,7 @@ bool pcal6416a_init(void) {
|
|||||||
|
|
||||||
/// GPIO expander chip found?
|
/// GPIO expander chip found?
|
||||||
if(!i2c_expander_addr){
|
if(!i2c_expander_addr){
|
||||||
printf("In %s - Failed to acquire bus access and/or talk to slave, exit\n");
|
printf("In %s - Failed to acquire bus access and/or talk to slave, exit\n", __func__);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user