mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
style
This commit is contained in:
parent
77e94c8047
commit
0fe568970b
3 changed files with 3 additions and 3 deletions
|
@ -41,6 +41,7 @@
|
||||||
#include "crc16.h"
|
#include "crc16.h"
|
||||||
#include "protocols.h"
|
#include "protocols.h"
|
||||||
#include "fileutils.h" // searchfile
|
#include "fileutils.h" // searchfile
|
||||||
|
#include "cmdlf.h" // lf_config
|
||||||
#include "generator.h"
|
#include "generator.h"
|
||||||
#include "cmdlfem4x05.h" // read 4305
|
#include "cmdlfem4x05.h" // read 4305
|
||||||
#include "cmdlfem4x50.h" // read 4350
|
#include "cmdlfem4x50.h" // read 4350
|
||||||
|
|
|
@ -434,7 +434,7 @@ static void fPrintAndLog(FILE *stream, const char *fmt, ...) {
|
||||||
if (((g_printAndLog & PRINTANDLOG_LOG) && logging && logfile) ||
|
if (((g_printAndLog & PRINTANDLOG_LOG) && logging && logfile) ||
|
||||||
(g_printAndLog & PRINTANDLOG_GRAB)) {
|
(g_printAndLog & PRINTANDLOG_GRAB)) {
|
||||||
memcpy_filter_emoji(buffer3, buffer2, sizeof(buffer2), EMO_ALTTEXT);
|
memcpy_filter_emoji(buffer3, buffer2, sizeof(buffer2), EMO_ALTTEXT);
|
||||||
if (!filter_ansi) {
|
if (filter_ansi == false) {
|
||||||
memcpy_filter_ansi(buffer, buffer3, sizeof(buffer3), true);
|
memcpy_filter_ansi(buffer, buffer3, sizeof(buffer3), true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -89,8 +89,7 @@ def main():
|
||||||
PM3_SUBPROC = Popen([args.pm3_path, "-i", "-f"], stdin=PIPE, stdout=PIPE)
|
PM3_SUBPROC = Popen([args.pm3_path, "-i", "-f"], stdin=PIPE, stdout=PIPE)
|
||||||
PM3_SUBPROC_QUEUE = Queue()
|
PM3_SUBPROC_QUEUE = Queue()
|
||||||
|
|
||||||
thread = Thread(target=enqueue_output,
|
thread = Thread(target=enqueue_output, args=(PM3_SUBPROC.stdout, PM3_SUBPROC_QUEUE))
|
||||||
args=(PM3_SUBPROC.stdout, PM3_SUBPROC_QUEUE))
|
|
||||||
thread.start()
|
thread.start()
|
||||||
|
|
||||||
if args.target_block != -1:
|
if args.target_block != -1:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue