summaryrefslogtreecommitdiff
path: root/common/motion_sense.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/motion_sense.c')
-rw-r--r--common/motion_sense.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/motion_sense.c b/common/motion_sense.c
index 0ae21e5056..030d5264d3 100644
--- a/common/motion_sense.c
+++ b/common/motion_sense.c
@@ -694,7 +694,7 @@ static int command_accel_init(int argc, char **argv)
sensor = &motion_sensors[id];
motion_sense_init(sensor);
- ccprintf("%s\n", sensor->name);
+ ccprintf("%s: %d\n", sensor->name, sensor->state);
return EC_SUCCESS;
}
DECLARE_CONSOLE_COMMAND(accelinit, command_accel_init,