Skip to content

Commit d8c3822

Browse files
committed
Changed USBHostConf.h to better match the previous USBHost configuration.
1 parent 26ac4e5 commit d8c3822

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

libraries/USBHost/USBHost/USBHostConf.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,37 +21,37 @@
2121
* Maximum number of devices that can be connected
2222
* to the usb host
2323
*/
24-
#define MAX_DEVICE_CONNECTED 1
24+
#define MAX_DEVICE_CONNECTED 5
2525

2626
/*
2727
* Maximum of Hub connected to the usb host
2828
*/
29-
#define MAX_HUB_NB 0
29+
#define MAX_HUB_NB 2
3030

3131
/*
3232
* Maximum number of ports on a USB hub
3333
*/
34-
#define MAX_HUB_PORT 0
34+
#define MAX_HUB_PORT 4
3535

3636
/*
3737
* Enable USBHostMSD
3838
*/
39-
#define USBHOST_MSD 0
39+
#define USBHOST_MSD 1
4040

4141
/*
4242
* Enable USBHostKeyboard
4343
*/
44-
#define USBHOST_KEYBOARD 0
44+
#define USBHOST_KEYBOARD 1
4545

4646
/*
4747
* Enable USBHostMouse
4848
*/
49-
#define USBHOST_MOUSE 0
49+
#define USBHOST_MOUSE 1
5050

5151
/*
5252
* Enable USBHostSerial
5353
*/
54-
#define USBHOST_SERIAL 0
54+
#define USBHOST_SERIAL 1
5555

5656
/*
5757
* Enable USB3Gmodule
@@ -66,7 +66,7 @@
6666
/*
6767
* Maximum number of endpoints on each interface
6868
*/
69-
#define MAX_ENDPOINT_PER_INTERFACE 2
69+
#define MAX_ENDPOINT_PER_INTERFACE 3
7070

7171
/*
7272
* Maximum number of endpoint descriptors that can be allocated

0 commit comments

Comments
 (0)