summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorENDO Katsuhiro <ka2hiro@curlybracket.co.jp>2022-09-15 09:14:19 +0900
committerGitHub <noreply@github.com>2022-09-15 01:14:19 +0100
commitf483520ff9b66cebacf880c4b079b2c490a7e80a (patch)
tree4aac2be91bc3f58c1212fc7f1469fb172f166042 /keyboards
parent3fbc3ac8ad9fbd08a26da46ef09482570839ebb4 (diff)
downloadqmk_firmware-f483520ff9b66cebacf880c4b079b2c490a7e80a.tar.gz
qmk_firmware-f483520ff9b66cebacf880c4b079b2c490a7e80a.zip
Fix problem that Chidori is not recognized by host computer. (#17882)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/kagizaraya/chidori/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/kagizaraya/chidori/config.h b/keyboards/kagizaraya/chidori/config.h
index 90de362e8b..cf9c38b64f 100644
--- a/keyboards/kagizaraya/chidori/config.h
+++ b/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