From 470b1e2e461bd3d28d1e59c2022e9bb65c63b2d9 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 29 Apr 2021 20:49:43 -0400 Subject: adxl345: Use "clock" suffix instead of "time" in commands The debugging code knows how to handle fields that end in "clock". Signed-off-by: Kevin O'Connor --- src/sensor_adxl345.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sensor_adxl345.c') diff --git a/src/sensor_adxl345.c b/src/sensor_adxl345.c index 9f7176e7..1e2cb9e5 100644 --- a/src/sensor_adxl345.c +++ b/src/sensor_adxl345.c @@ -104,7 +104,7 @@ adxl_start(struct adxl345 *ax, uint8_t oid) ax->timer.waketime = start2_time + ax->rest_ticks; sched_add_timer(&ax->timer); irq_enable(); - sendf("adxl345_start oid=%c start1_time=%u start2_time=%u" + sendf("adxl345_start oid=%c start1_clock=%u start2_clock=%u" , oid, start1_time, start2_time); } @@ -132,7 +132,7 @@ adxl_stop(struct adxl345 *ax, uint8_t oid) // Report final data if (ax->data_count) adxl_report(ax, oid); - sendf("adxl345_end oid=%c end1_time=%u end2_time=%u" + sendf("adxl345_end oid=%c end1_clock=%u end2_clock=%u" " limit_count=%hu sequence=%hu" , oid, end1_time, end2_time, ax->limit_count, ax->sequence); } -- cgit v1.2.3-70-g09d2