From 2b9c73dbd5631bafce538e26d415eb92effbb2bd Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Mon, 20 Sep 2021 19:00:54 +0200 Subject: [PATCH] Make the config more similar to the demo --- lib/lufa_config.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/lufa_config.h b/lib/lufa_config.h index a08266e..2ae4f65 100644 --- a/lib/lufa_config.h +++ b/lib/lufa_config.h @@ -2,15 +2,16 @@ #define USB_DEVICE_ONLY #define DEVICE_STATE_AS_GPIOR 0 -#define ORDERED_EP_CONFIG +// #define ORDERED_EP_CONFIG #define FIXED_CONTROL_ENDPOINT_SIZE 8 #define FIXED_NUM_CONFIGURATIONS 1 +#define INTERRUPT_CONTROL_ENDPOINT #define USE_FLASH_DESCRIPTORS #define USE_STATIC_OPTIONS (USB_DEVICE_OPT_FULLSPEED | USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL) #define NO_INTERNAL_SERIAL #define NO_DEVICE_SELF_POWER #define NO_DEVICE_REMOTE_WAKEUP -#define NO_SOF_EVENTS +// #define NO_SOF_EVENTS #define F_USB F_CPU #define DEVICE_VID 0x2C99 #define DEVICE_PID 0x0004