Browse Source

Fix problem that Chidori is not recognized by host computer. (#17882)

ENDO Katsuhiro 2 years ago
parent
commit
f483520ff9
1 changed files with 8 additions and 0 deletions
  1. 8 0
      keyboards/kagizaraya/chidori/config.h

+ 8 - 0
keyboards/kagizaraya/chidori/config.h

@@ -152,3 +152,11 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /* Bootmagic Lite key configuration */
 // #define BOOTMAGIC_LITE_ROW 0
 // #define BOOTMAGIC_LITE_COLUMN 0
+
+/* USB config */
+#define USB_MAX_POWER_CONSUMPTION 100
+#define USB_COUNT_SOF 0
+#define USB_INTR_CFG_SET (1 << ISC01)
+#define USB_INTR_ENABLE_BIT INT0
+#define USB_INTR_PENDING_BIT INTF0
+#define USB_INTR_VECTOR INT0_vect