fixed comment

This commit is contained in:
joBr99
2022-02-08 22:22:47 +01:00
parent 912f397168
commit 2cf50996e0

View File

@@ -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)