Skip to content

Commit e133423

Browse files
Merge remote-tracking branch 'Tasmota/development' into work
2 parents 474c4e4 + 89cbe59 commit e133423

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/lib_display/UDisplay/include/uDisplay_config.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

2527
enum uColorType { uCOLOR_BW, uCOLOR_COLOR };
2628

tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_tasmota.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)