stabilizer icon indicating copy to clipboard operation
stabilizer copied to clipboard

Review `DelayUs/DelayMs` API and possible migrate away.

Open jordens opened this issue 3 years ago • 0 comments

https://github.com/quartiq/stabilizer/pull/590#pullrequestreview-1066610618

We should try to get away from DelayUs/DelayMs at some point in the future. The API is an invitation for error: Into<u32> strips units, granularity, and context as delay_us(something.into()) looks just as good (but is wrong) if something.into::<u32>() are actually ms. It does seem like we should leverage as much as possible from fugit.

jordens avatar Aug 09 '22 12:08 jordens