-
- }
- return 1;
-}
-
-//test call to GetModels
-int CmdrevengTest(const char *Cmd){
- char *Models[80];
- int count = 0;
- uint32_t width = 0;
- width = param_get8(Cmd, 0);
- //PrintAndLog("width: %d",width);
- if (width > 89)
- return uerr("Width cannot exceed 89");
-
- int ans = GetModels(Models, &count, &width);
- if (!ans) return 0;
-
- PrintAndLog("Count: %d",count);
- for (int i = 0; i < count; i++){
- PrintAndLog("Model %d: %s",i,Models[i]);
- free(Models[i]);