mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-18 14:28:33 +03:00
Phone uses USB endpoints 4 to 6 instead of 1 to 3 now
This commit is contained in:
@@ -8,13 +8,9 @@
|
||||
|
||||
#define BUFLEN 5
|
||||
|
||||
//#define PHONE_DATAOUT 4
|
||||
//#define PHONE_DATAIN 5
|
||||
//#define PHONE_INT 6
|
||||
|
||||
#define PHONE_DATAOUT 1
|
||||
#define PHONE_DATAIN 2
|
||||
#define PHONE_INT 3
|
||||
#define PHONE_DATAOUT 4
|
||||
#define PHONE_DATAIN 5
|
||||
#define PHONE_INT 6
|
||||
|
||||
typedef struct ring_buffer
|
||||
{
|
||||
|
||||
@@ -365,7 +365,7 @@ const SIMTraceDriverConfigurationDescriptorPhone configurationDescriptorPhone =
|
||||
USBGenericDescriptor_INTERFACE,
|
||||
0, /* This is interface #0 */
|
||||
0, /* This is alternate setting #0 for this interface */
|
||||
4, /* Number of endpoints */
|
||||
3, /* Number of endpoints */
|
||||
0xff, /* Descriptor Class: Vendor specific */
|
||||
0, /* No subclass */
|
||||
0, /* No l */
|
||||
|
||||
Reference in New Issue
Block a user