diff --git a/tasmota/nextion.be b/tasmota/nextion.be index 04c25ebe..1a1972a7 100644 --- a/tasmota/nextion.be +++ b/tasmota/nextion.be @@ -264,8 +264,8 @@ class Nextion : Driver var str = msg[0..-4].asstring() log(str, 3) if (string.find(str,"comok 2")==0) - self.sendnx(string.format("whmi-wris %d,115200,1",self.flash_size)) # Nextion Upload Protocol 1.2, needs some more testing #self.sendnx(string.format("whmi-wri %d,115200,1",self.flash_size)) # Nextion Upload Protocol 1.1 + self.sendnx(string.format("whmi-wris %d,115200,1",self.flash_size)) # Nextion Upload Protocol 1.2 # skip to byte (upload protocol 1.2) elif (size(msg)==1 && msg[0]==0x08)