From 24c14f93cbf85e68dca9b029b951f893f22fe069 Mon Sep 17 00:00:00 2001 From: Ein Terakawa Date: Tue, 27 May 2025 00:31:19 +0900 Subject: [PATCH] Always need usbFunctionRead()/Write() --- firmware/usbconfig.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/firmware/usbconfig.h b/firmware/usbconfig.h index 28e63a6..2c70736 100644 --- a/firmware/usbconfig.h +++ b/firmware/usbconfig.h @@ -138,20 +138,12 @@ section at the end of this file). * The value is in milliamperes. [It will be divided by two since USB * communicates power requirements in units of 2 mA.] */ -#ifdef __HIDUART__ #define USB_CFG_IMPLEMENT_FN_WRITE 1 -#else -#define USB_CFG_IMPLEMENT_FN_WRITE 0 -#endif /* Set this to 1 if you want usbFunctionWrite() to be called for control-out * transfers. Set it to 0 if you don't need it and want to save a couple of * bytes. */ -#ifdef __HIDUART__ #define USB_CFG_IMPLEMENT_FN_READ 1 -#else -#define USB_CFG_IMPLEMENT_FN_READ 0 -#endif /* Set this to 1 if you need to send control replies which are generated * "on the fly" when usbFunctionRead() is called. If you only want to send * data from a static buffer, set it to 0 and return the data from