diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-04-29 20:49:43 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-04-30 11:40:37 -0400 |
commit | 470b1e2e461bd3d28d1e59c2022e9bb65c63b2d9 (patch) | |
tree | 0bc6f0ac540ac77b17b5f2b69cc0627b15a6cebf /src | |
parent | b611e72a19d499208e09e426a7e8358a78a62b55 (diff) | |
download | kutter-470b1e2e461bd3d28d1e59c2022e9bb65c63b2d9.tar.gz kutter-470b1e2e461bd3d28d1e59c2022e9bb65c63b2d9.tar.xz kutter-470b1e2e461bd3d28d1e59c2022e9bb65c63b2d9.zip |
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 <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/sensor_adxl345.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |