diff --git a/src/lib/DriverFramework b/src/lib/DriverFramework index 46e6573cd7..5e055c7d11 160000 --- a/src/lib/DriverFramework +++ b/src/lib/DriverFramework @@ -1 +1 @@ -Subproject commit 46e6573cd7eb455881e06a4bf38752156c247475 +Subproject commit 5e055c7d11ec828f59716478c3c5d32c8c1809f0 diff --git a/src/platforms/posix/drivers/accelsim/accelsim.cpp b/src/platforms/posix/drivers/accelsim/accelsim.cpp index 664ea8ea8c..481eb57788 100644 --- a/src/platforms/posix/drivers/accelsim/accelsim.cpp +++ b/src/platforms/posix/drivers/accelsim/accelsim.cpp @@ -802,9 +802,21 @@ ACCELSIM::stop() void ACCELSIM::_measure() { - //PX4_INFO("ACCELSIM::_measure"); - /* status register and data as read back from the device */ +#if 0 + static int x = 0; + // Verify the samples are being taken at the expected rate + if (x == 99) { + x = 0; + PX4_INFO("ACCELSIM::measure %" PRIu64, hrt_absolute_time()); + + } else { + x++; + } + +#endif + + /* status register and data as read back from the device */ #pragma pack(push, 1) struct { uint8_t cmd;