mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-06-03 17:31:31 +00:00
ADD: added the "hf snoop" patch original from @Enio, rearranged by @Etmatrix.
ADD: added the "t55x7" refactoring by @marshmellow42
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ static int l_SendCommand(lua_State *L){
|
||||
const char *data = luaL_checklstring(L, 1, &size);
|
||||
if(size != sizeof(UsbCommand))
|
||||
{
|
||||
printf("Got data size %d, expected %d" , size, sizeof(UsbCommand));
|
||||
printf("Got data size %d, expected %d" , (int) size,(int) sizeof(UsbCommand));
|
||||
lua_pushstring(L,"Wrong data size");
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user