diff options
author | ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> | 2022-09-15 09:14:19 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-15 01:14:19 +0100 |
commit | f483520ff9b66cebacf880c4b079b2c490a7e80a (patch) | |
tree | 4aac2be91bc3f58c1212fc7f1469fb172f166042 /keyboards/kagizaraya/chidori/config.h | |
parent | 3fbc3ac8ad9fbd08a26da46ef09482570839ebb4 (diff) |
Fix problem that Chidori is not recognized by host computer. (#17882)
Diffstat (limited to 'keyboards/kagizaraya/chidori/config.h')
-rw-r--r-- | keyboards/kagizaraya/chidori/config.h | 8 |
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 |