style
This commit is contained in:
1 parent
489ae506ab
commit
f5e976afa6
21 files changed
+231
-225
No files matched your search
@@ -41,8 +41,8 @@ typedef struct {
|
||||
|
||||
local function calypso_parse(result)
|
||||
if result.Length >= 0 then
|
||||
local response_byte = string.sub(result.Data, 0, 1);
|
||||
local datalen = string.sub(result.Data, 2, 5);
|
||||
local response_byte = string.sub(result.Data, 0, 1);
|
||||
local datalen = string.sub(result.Data, 2, 5);
|
||||
local d = string.sub(result.Data, 6, datalen * 2);
|
||||
return {
|
||||
response_byte = response_byte,
|
||||
|
||||
@@ -33,8 +33,8 @@ device-side.
|
||||
-- iceman, todo: return payload from ISO14b APDU is a struct now. iso14b_raw_apdu_response_t
|
||||
local function mobib_parse(result)
|
||||
if result.Length >= 0 then
|
||||
local response_byte = string.sub(result.Data, 0, 1);
|
||||
local datalen = string.sub(result.Data, 2, 5);
|
||||
local response_byte = string.sub(result.Data, 0, 1);
|
||||
local datalen = string.sub(result.Data, 2, 5);
|
||||
local d = string.sub(result.Data, 6, datalen * 2);
|
||||
return {
|
||||
response_byte = response_byte,
|
||||
|
||||
Reference in new issue
Block a user