From: pwpiwi Date: Sun, 3 Jun 2018 12:25:20 +0000 (+0200) Subject: USB comms: part 4 towards @micolous PR #463 X-Git-Tag: v3.1.0~46 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/ad939de5017f3451376d6f559858a30bae675964?hp=ad939de5017f3451376d6f559858a30bae675964 USB comms: part 4 towards @micolous PR #463 * make uart_communication(), storeCommand() and getCommand() static in comms.c * move receiver thread creation and respective mutexes to comms.c * add mutex and signal for tx buffer * use comms.c for flasher as well * remove comm functions from client/proxmark3.h * this completes isolating all USB communication related functions in comms.c * don't assume a port to be defined by a name. Change parameter in OpenProxmark() to void* * comms.c: set sp and serial_port_name to NULL when offline ---