Skip to content

Commit

Permalink
Merge pull request #688 from softhack007/fix_dangling_pointer
Browse files Browse the repository at this point in the history
esp32-S3 fix for crash in Bus_Parallel16::release()
  • Loading branch information
mrcodetastic authored Oct 18, 2024
2 parents bba1a47 + 24b98a8 commit a5d6611
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/platforms/esp32s3/gdma_lcd_parallel16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@
if (_i80_bus)
{
esp_lcd_del_i80_bus(_i80_bus);
_i80_bus = nullptr;
}
if (_dmadesc_a)
{
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/esp32s3/gdma_lcd_parallel16.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;


};
Expand Down

0 comments on commit a5d6611

Please sign in to comment.