mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-25 17:58:32 +03:00
Removed unused defines for USB operation in sniffer.c
This commit is contained in:
@@ -45,16 +45,7 @@
|
|||||||
/** Maximum ATR ucSize in bytes.*/
|
/** Maximum ATR ucSize in bytes.*/
|
||||||
#define MAX_ATR_SIZE 55
|
#define MAX_ATR_SIZE 55
|
||||||
|
|
||||||
/** USB states */
|
|
||||||
/// Use for power management
|
|
||||||
#define STATE_IDLE 0
|
|
||||||
/// The USB device is in suspend state
|
|
||||||
#define STATE_SUSPEND 4
|
|
||||||
/// The USB device is in resume state
|
|
||||||
#define STATE_RESUME 5
|
|
||||||
|
|
||||||
/* Sniffer configuration */
|
/* Sniffer configuration */
|
||||||
|
|
||||||
#ifdef PIN_SC_SW
|
#ifdef PIN_SC_SW
|
||||||
#undef PIN_SC_SW
|
#undef PIN_SC_SW
|
||||||
#endif
|
#endif
|
||||||
@@ -72,9 +63,6 @@
|
|||||||
/*------------------------------------------------------------------------------
|
/*------------------------------------------------------------------------------
|
||||||
* Internal variables
|
* Internal variables
|
||||||
*------------------------------------------------------------------------------*/
|
*------------------------------------------------------------------------------*/
|
||||||
/** USB state: suspend, resume, idle */
|
|
||||||
unsigned char USBState = STATE_IDLE;
|
|
||||||
|
|
||||||
/** ISO7816 pins */
|
/** ISO7816 pins */
|
||||||
static const Pin pinsISO7816_sniff[] = {PINS_SIM_SNIFF_SIM};
|
static const Pin pinsISO7816_sniff[] = {PINS_SIM_SNIFF_SIM};
|
||||||
static const Pin pins_bus[] = {PINS_BUS};
|
static const Pin pins_bus[] = {PINS_BUS};
|
||||||
|
|||||||
Reference in New Issue
Block a user