diff options
| author | Jeff Epler <jepler@gmail.com> | 2020-10-02 15:07:36 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-10-02 15:07:36 -0500 |
| commit | b1592564b286ca7a5374e77eba2c2efc768ffae9 (patch) | |
| tree | 5c7694404e3845a7e70c4090e62409e302c45fd1 /ports | |
| parent | e114b5ab54e3c7f4a36a03dae2913cb76804efa3 (diff) | |
displayio: Fix matrixportal crash
An RGBMatrix has no bus and no bus_free method. It is always possible
to refresh the display.
This was not a problem before, but the fix I suggested (#3449) added
a call to core_bus_free when a FramebufferDisplay was being refreshed.
This was not caught during testing.
This is a band-aid fix and it brings to light a second problem in which
a SharpDisplay + FrameBuffer will not have a 'bus' object, and yet does
operate using a shared SPI bus. This kind of display will need a
"bus-free" like function to be added, or it can have problems like
#3309.
Diffstat (limited to 'ports')
0 files changed, 0 insertions, 0 deletions
