mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Merge pull request #15702 from s-hadinger/zigbee_flasher_fix
Zigbee flasher fix compilation
This commit is contained in:
commit
d1b1a236d4
@ -281,7 +281,7 @@ class cc2652_flasher
|
|||||||
var b = bytes("21")
|
var b = bytes("21")
|
||||||
b.add(addr, -4)
|
b.add(addr, -4)
|
||||||
b.add(sz, -4)
|
b.add(sz, -4)
|
||||||
if self.debug print("cmd_download",b)
|
if self.debug print("cmd_download",b) end
|
||||||
|
|
||||||
return self.send(b, true)
|
return self.send(b, true)
|
||||||
end
|
end
|
||||||
@ -292,7 +292,7 @@ class cc2652_flasher
|
|||||||
if sz > 128 raise "value_error", "len is bigger than 128" end
|
if sz > 128 raise "value_error", "len is bigger than 128" end
|
||||||
var b = bytes("24")
|
var b = bytes("24")
|
||||||
b += data
|
b += data
|
||||||
if self.debug print("cmd_send_data",b)
|
if self.debug print("cmd_send_data",b) end
|
||||||
|
|
||||||
return self.send(b, true)
|
return self.send(b, true)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user