mrcodetastic / ESP32-HUB75-MatrixPanel-DMA

An Adafruit GFX Compatible Library for the ESP32, ESP32-S2, ESP32-S3 to drive HUB75 LED matrix panels using DMA for high refresh rates. Supports panel chaining.
MIT License
939 stars 208 forks source link

fixed nullptr dereference #676

Closed DevxMike closed 1 week ago

DevxMike commented 1 week ago

a) fixed nullptr dereference in example 1 for Arduino framework b) fixed nullptr dereference in example 3 for Arduino framework c) rearranged example 3 a bit

examples run on my device and worked well - I would recommend to test it before merging anyway

this pull request does not mean, that another files / examples dont require changes, took a quick peek into the examples and thats all, have a bread to earn :D

ref: https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/issues/675

mrcodetastic commented 1 week ago

Thanks for this. This library depends on people who have bread to earn but contribute here and there when they can, myself included :-)