mirror of https://github.com/arendst/Tasmota.git
Fix crash in Universal Touch (#21026)
This commit is contained in:
parent
15ae3e0fa5
commit
bad2f4fb13
|
@ -456,18 +456,18 @@ class uDisplay : public Renderer {
|
|||
|
||||
uint8_t ut_array[16];
|
||||
uint8_t ut_i2caddr;
|
||||
uint8_t ut_spi_cs;
|
||||
int8_t ut_reset;
|
||||
int8_t ut_irq;
|
||||
uint8_t ut_spi_cs = -1;
|
||||
int8_t ut_reset = -1;
|
||||
int8_t ut_irq = -1;
|
||||
uint8_t ut_spi_nr;
|
||||
TwoWire *ut_wire;
|
||||
SPIClass *ut_spi;
|
||||
TwoWire *ut_wire = nullptr;;
|
||||
SPIClass *ut_spi = nullptr;;
|
||||
SPISettings ut_spiSettings;
|
||||
char ut_name[8];
|
||||
uint8_t *ut_init_code;
|
||||
uint8_t *ut_touch_code;
|
||||
uint8_t *ut_getx_code;
|
||||
uint8_t *ut_gety_code;
|
||||
uint8_t *ut_init_code = nullptr;
|
||||
uint8_t *ut_touch_code = nullptr;
|
||||
uint8_t *ut_getx_code = nullptr;
|
||||
uint8_t *ut_gety_code = nullptr;
|
||||
|
||||
#endif // USE_UNIVERSAL_TOUCH
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue