lcgamboa / picsimlab

PICsimLab - Programmable IC Simulator Laboratory
GNU General Public License v2.0
476 stars 90 forks source link

ili9341 with "spi+touch" crashes simulator or causes infinite loop #131

Open m-meltner opened 4 days ago

m-meltner commented 4 days ago

Hello,

Describe the bug: simulator crashes or is in infinite loop

Steps to reproduce the behavior:

Expected behavior: dialog box closes and simulator continues

Files: a default project as starting point is enough

Desktop (please complete the following information): all versions including online simulator

Possible fix: if I comment out lines 620 & 621 in "output_LCD_ili9341.cc" ("SpareParts.WPropCmd("combo11", PWA_COMBOGETTEXT, NULL, buff);") the simulator works fine. these 2 lines look like a copy-paste error in the source code to me though I am not deep enough into the simulator source code to be sure.

Michael
lcgamboa commented 2 days ago

Hi @m-meltner ,

Thanks for reporting the issue and providing the fix. You are right about the problem with these two lines.

m-meltner commented 2 days ago

Hello,

thanks for confirming and big smile from me for your effort providing picsimlab!

Michael