mirror of https://github.com/periph/devices
s/OpenByName/Open/g and d/OpenByNumber/
This shortens OpenByName() to Open() and removes OpenByNumber(). The concept of number is not removed, it's still possible to open a bus by number, but a base10 string representation of the number is now needed. In practice, I haven't found a real use for OpenByNumber(). This simplify the API surface, less functions leads to simpler to understand API. This is a breaking change.pull/1/head
parent
9fe596f933
commit
cbac673bcf
Loading…
Reference in New Issue