diff options
Diffstat (limited to 'driver/accel_kxcj9.c')
-rw-r--r-- | driver/accel_kxcj9.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/accel_kxcj9.c b/driver/accel_kxcj9.c index ff65e50b94..f11339c5b4 100644 --- a/driver/accel_kxcj9.c +++ b/driver/accel_kxcj9.c @@ -16,7 +16,7 @@ #include "util.h" #define CPUTS(outstr) cputs(CC_ACCEL, outstr) -#define CPRINTF(format, args...) cprintf(CC_ACCEL, format, ## args) +#define CPRINTS(format, args...) cprints(CC_ACCEL, format, ## args) /* Number of times to attempt to enable sensor before giving up. */ #define SENSOR_ENABLE_ATTEMPTS 3 @@ -191,7 +191,7 @@ static int enable_sensor(const enum accel_id id, const int ctrl1) mutex_unlock(&accel_mutex[id]); /* Cannot enable accel, print warning and return an error. */ - CPRINTF("[%T Error trying to enable accelerometer %d]\n", id); + CPRINTF("Error trying to enable accelerometer %d", id); return ret; } |