File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
lib/lib_display/UDisplay/include
tasmota/tasmota_xdrv_driver Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ extern SPIClass *SpiBegin(uint32_t bus);
2020#endif // _TASMOTA_H_
2121
2222// Enable universal touch support
23+ #ifndef USE_UNIVERSAL_TOUCH
2324#define USE_UNIVERSAL_TOUCH
25+ #endif
2426
2527enum uColorType { uCOLOR_BW, uCOLOR_COLOR };
2628
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ extern "C" {
121121 int32_t top = be_top (vm); // Get the number of arguments
122122 if (top == 0 || (top == 1 && be_isint (vm, 1 ))) { // only 1 argument of type string accepted
123123 uint32_t delay = 0 ;
124- if (top == 2 ) {
124+ if (top == 1 ) {
125125 delay = be_toint (vm, 1 );
126126 }
127127 uint32_t ret_millis = millis () + delay;
You can’t perform that action at this time.
0 commit comments