Remove erroneous sensor read timing checks.

This commit is contained in:
px4dev 2012-08-24 08:55:30 -07:00
parent d55dd67d77
commit f901a35bd4
2 changed files with 0 additions and 4 deletions

View File

@ -807,9 +807,7 @@ 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);

View File

@ -833,9 +833,7 @@ test(int fd)
/* do a simple demand read */
uint64_t start_baro = hrt_absolute_time();
sz = read(fd, &report, sizeof(report));
test_note("time for read: %lld (should be below 2000!)", hrt_absolute_time() - start_baro);
if (sz != sizeof(report))
return test_fail("immediate read failed: %d", errno);