phone.c: Changed bus switch from sniffer to phone mode

In order to record the communication between simtrace and the
mobile phone with a logic analyzer I had to configure the
pins in sniffer mode in order to attach the sniffer clips
to the SIM card slot. I did not manage to connect them to
the connector to the phone flex cable.
This commit is contained in:
Christina Quast 2015-04-05 10:08:06 +02:00
parent 80050a5c98
commit 3041854872
1 changed files with 2 additions and 2 deletions

View File

@ -82,9 +82,9 @@ unsigned char USBState = STATE_IDLE;
/** ISO7816 pins */
static const Pin pinsISO7816_PHONE[] = {PINS_ISO7816_PHONE};
/** Bus switch pins */
//static const Pin pins_bus[] = {PINS_BUS_DEFAULT};
static const Pin pins_bus[] = {PINS_BUS_DEFAULT};
// FIXME: temporary enable bus switch
static const Pin pins_bus[] = {PINS_BUS_SNIFF};
//static const Pin pins_bus[] = {PINS_BUS_SNIFF};
/** ISO7816 RST pin */
static const Pin pinIso7816RstMC = PIN_ISO7816_RST_PHONE;