mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Make sure standalone modes can be launched when connected on USB without client
This commit is contained in:
parent
b7016e0bed
commit
d7614684f8
6 changed files with 72 additions and 35 deletions
|
@ -436,7 +436,7 @@ void SendCapabilities(void) {
|
|||
capabilities_t capabilities;
|
||||
capabilities.version = CAPABILITIES_VERSION;
|
||||
capabilities.via_fpc = reply_via_fpc;
|
||||
|
||||
capabilities.via_usb = reply_via_usb;
|
||||
capabilities.baudrate = 0; // no real baudrate for USB-CDC
|
||||
#ifdef WITH_FPC_USART
|
||||
if (reply_via_fpc)
|
||||
|
@ -742,6 +742,10 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
*/
|
||||
|
||||
switch (packet->cmd) {
|
||||
case CMD_QUIT_SESSION:
|
||||
reply_via_fpc = false;
|
||||
reply_via_usb = false;
|
||||
break;
|
||||
#ifdef WITH_LF
|
||||
case CMD_SET_LF_T55XX_CONFIG:
|
||||
setT55xxConfig(packet->oldarg[0], (t55xx_config *) packet->data.asBytes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue