Merge pull request from softhack007/fix_dangling_pointer

esp32-S3 fix for crash in Bus_Parallel16::release()
This commit is contained in:
mrcodetastic 2024-10-18 21:01:07 +01:00 committed by GitHub
commit a5d6611b65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -294,6 +294,7 @@
if (_i80_bus)
{
esp_lcd_del_i80_bus(_i80_bus);
_i80_bus = nullptr;
}
if (_dmadesc_a)
{

View file

@ -169,7 +169,7 @@
bool _double_dma_buffer = false;
//bool _dmadesc_a_active = true;
esp_lcd_i80_bus_handle_t _i80_bus;
esp_lcd_i80_bus_handle_t _i80_bus = nullptr;
};