Closed johnwstanford closed 12 months ago
If the underlying function rounds to microsecond precision, wouldn't 166ns round down to zero? In which case the sleep call would do nothing?
https://github.com/EttusResearch/uhd/blob/0e50a37b5ec6039ed4e8947421dd333047e24408/host/lib/usrp/dboard/twinrx/twinrx_io.hpp#L123
No, because we have a minimum sleep duration of 1us:
https://github.com/EttusResearch/uhd/blob/master/host/lib/usrp/dboard_iface.cpp#L24-L30
If the underlying function rounds to microsecond precision, wouldn't 166ns round down to zero? In which case the sleep call would do nothing?
https://github.com/EttusResearch/uhd/blob/0e50a37b5ec6039ed4e8947421dd333047e24408/host/lib/usrp/dboard/twinrx/twinrx_io.hpp#L123