mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
CHG: not sure if this clearCommandBuffer helps when sending usbpackages from lua scripts. Having trouble with these usbpackages in 14B code.
This commit is contained in:
parent
a930542b0a
commit
f400ff6519
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ end
|
||||||
-- nil, errormessage if unsuccessfull
|
-- nil, errormessage if unsuccessfull
|
||||||
|
|
||||||
local function sendToDevice(command, ignoreresponse)
|
local function sendToDevice(command, ignoreresponse)
|
||||||
core.clearCommandBuffer()
|
--core.clearCommandBuffer(
|
||||||
local err = core.SendCommand(command:getBytes())
|
local err = core.SendCommand(command:getBytes())
|
||||||
if err then
|
if err then
|
||||||
print(err)
|
print(err)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue