diff options
Diffstat (limited to 'apps/drivers/hmc5883/hmc5883.cpp')
-rw-r--r-- | apps/drivers/hmc5883/hmc5883.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/drivers/hmc5883/hmc5883.cpp b/apps/drivers/hmc5883/hmc5883.cpp index 0fa1f365d..f29e7dcb0 100644 --- a/apps/drivers/hmc5883/hmc5883.cpp +++ b/apps/drivers/hmc5883/hmc5883.cpp @@ -807,7 +807,9 @@ test(int fd) /* do a simple demand read */ + uint64_t start_mag = hrt_absolute_time(); sz = read(fd, &report, sizeof(report)); + test_note("time for read: %lld (should be below 2000!)", hrt_absolute_time() - start_mag); if (sz != sizeof(report)) return test_fail("immediate read failed: %d", errno); |