facebook / time

Meta's Time libraries
Apache License 2.0
592 stars 74 forks source link

format antenna delay to microseconds if necessary #333

Closed leoleovich closed 4 months ago

leoleovich commented 6 months ago

Summary: Temporarily add a hack to match Calnex microseconds format.

Apparently, the device is trying to be smart and after setting the values returns antenna_delay=3.042 us, which in turn triggers our automation to set the value again and again. It's a bit painful to match this string especially because golang is using proper unicode characters https://go.dev/play/p/_awe7ecCSuq

3.042µs

Differential Revision: D54415146

facebook-github-bot commented 6 months ago

This pull request was exported from Phabricator. Differential Revision: D54415146