From 66fc9ce9d9db1b88f5277fdc0c5a588fc302f514 Mon Sep 17 00:00:00 2001 From: Vincent-FK Date: Mon, 15 Mar 2021 23:37:17 +0100 Subject: [PATCH] corrected printf args --- driver_pcal6416a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver_pcal6416a.c b/driver_pcal6416a.c index 3d7923e..90bd8cd 100755 --- a/driver_pcal6416a.c +++ b/driver_pcal6416a.c @@ -46,7 +46,7 @@ bool pcal6416a_init(void) { // ERROR HANDLING; you can check errno to see what went wrong return false; } - + i2c_expander_addr = 0; /// Probing PCAL9539A chip @@ -71,7 +71,7 @@ bool pcal6416a_init(void) { /// GPIO expander chip found? 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; }