mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-14 17:13:05 -07:00
adjustments, still breaks on ubuntu,
This commit is contained in:
parent
0234ca5654
commit
7de458486f
2 changed files with 6 additions and 7 deletions
|
@ -459,15 +459,14 @@ static int l_reveng_models(lua_State *L){
|
|||
|
||||
// This array needs to be adjusted if RevEng adds more crc-models.
|
||||
uint8_t width[102];
|
||||
memset(width, 0, sizeof(width));
|
||||
// This array needs to be adjusted if RevEng adds more crc-models.
|
||||
char *models[102];
|
||||
|
||||
width[0] = in_width;
|
||||
|
||||
int ans = GetModels(models, &count, width);
|
||||
if (!ans) {
|
||||
return returnToLuaWithError(L, "Didn't find any models");
|
||||
}
|
||||
if (!GetModels(models, &count, width))
|
||||
return returnToLuaWithError(L, "didn't find any models");
|
||||
|
||||
lua_newtable(L);
|
||||
for (int i = 0; i < count; i++){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue