fix: syntax erros in luascripts

This commit is contained in:
iceman1001 committed 2019-06-23 08:13:17 -04:00
1 parent 23d1d74482
commit c6d245b843
4 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -21,7 +21,7 @@ local function nfc_read_amiibo ()
arg2 = 135
}
local result, err = command.sendMIX()
local result, err = command:sendMIX()
if result then
-- Do Mifare Ultralight read
local count, cmd, arg0, data_len, offset = bin.unpack('LLLL', result)
@@ -95,7 +95,7 @@ local function emulate_amiibo (amiibo_data)
arg2 = uid_first,
arg3 = uid_second
}
local _, err = simCmd.sendMIX()
local _, err = simCmd:sendMIX()
if err then
print('Failed to start simulator', err)
return