Added loclass-functionality into the pm3,the functionality provided by loclass can now be invoked directly from the pm3. Also fixed some issues with how prnlog called PrintAndLog, and added some testdata for the loclass self-tests
This commit is contained in:
1 parent
39d3ce5dd6
commit
6f101995b6
5 files changed
+72
-53
No files matched your search
@@ -57,11 +57,11 @@ int saveFile(const char *preferredName, const char *suffix, const void* data, si
|
||||
*/
|
||||
void prnlog(char *fmt, ...)
|
||||
{
|
||||
|
||||
char buffer[2048] = {0};
|
||||
va_list args;
|
||||
va_start(args,fmt);
|
||||
PrintAndLog(fmt, args);
|
||||
//vprintf(fmt,args);
|
||||
vsprintf (buffer,fmt, args);
|
||||
va_end(args);
|
||||
//printf("\n");
|
||||
PrintAndLog(buffer);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user