periph / conn

Go·Hardware·Lean - Interfaces
https://periph.io
Apache License 2.0
74 stars 13 forks source link

physic: Rename Frequency.Duration() to Frequency.Period() #27

Open maruel opened 1 year ago

maruel commented 1 year ago

Ported from https://github.com/google/periph/issues/379.

It is more correct. In v3.5.0, add the new method Period(). In v4.0.0, remove Duration().