almindor / mipidsi

MIPI Display Serial Interface unified driver
MIT License
125 stars 48 forks source link

Remove reset pin parameter from Builder::init #114

Closed rfuest closed 9 months ago

rfuest commented 9 months ago

This PR removes the reset parameter from Builder::init and replaces it with a setter. The setter is a bit easier to use, because the argument doesn't need to be wrapped into an Option. I think it's also advantageous to not have init take one argument which is only borrowed (the delay) and another that remains owned by the Builder/Display (the reset pin).