MabezDev / ssd1351

A Driver crate for the SSD1351, which drives 128x128 colour displays
16 stars 14 forks source link

Add release functions to SpiInterface and Display #22

Closed Jmgr closed 8 months ago

Jmgr commented 8 months ago

This adds release functions to SpiInterface and Display, so that the resources they are using can be freed.

Orange-Murker commented 8 months ago

Thanks for the PR. Seems useful if you want to use that SpiDevice for something else.

Orange-Murker commented 8 months ago

We would probably want to eventually migrate to https://crates.io/crates/display-interface-spi. It already has .release() implemented.