From 0f8568a0ca5f661f3abc9f89e877e4c36771eeed Mon Sep 17 00:00:00 2001 From: lcgamboa Date: Sat, 30 Nov 2024 13:08:26 -0300 Subject: [PATCH] fix: Fix ili9341 with "spi+touch" crashes. Thanks to m-meltner https://github.com/lcgamboa/picsimlab/issues/131 --- VERSION | 2 +- src/parts/output_LCD_ili9341.cc | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 49b0a4a7..808a73c0 100644 --- a/VERSION +++ b/VERSION @@ -2,5 +2,5 @@ PACKAGE=picsimlab MAINVER=0 MINORVER=9 VERSION=0.9.2 -DATE=241116 +DATE=241130 VERSION_STABLE=0.9.2 diff --git a/src/parts/output_LCD_ili9341.cc b/src/parts/output_LCD_ili9341.cc index d91721db..9da69a63 100644 --- a/src/parts/output_LCD_ili9341.cc +++ b/src/parts/output_LCD_ili9341.cc @@ -617,8 +617,6 @@ void cpart_LCD_ili9341::ReadPropertiesWindow(void) { } if ((type_com == TC_8BITS_TOUCH) || (type_com == TC_SPI_TOUCH)) { - SpareParts.WPropCmd("combo11", PWA_COMBOGETTEXT, NULL, buff); - input_pins[9] = std::stoi(buff); SpareParts.WPropCmd("combo15", PWA_COMBOGETTEXT, NULL, buff); touch_pins[0] = std::stoi(buff); SpareParts.WPropCmd("combo16", PWA_COMBOGETTEXT, NULL, buff);