aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/config_common.h
diff options
context:
space:
mode:
authorTakuya Urakawa <urkwtky@gmail.com>2019-03-13 03:48:17 +0900
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-03-12 11:48:17 -0700
commit2f3dbb1253839fad1bb2e20db8ef7b88c5fd331a (patch)
tree8c59947425e86f8432479d18de9cefe1768088d4 /quantum/config_common.h
parent37932c293c15011f883a91e91ee02631ead44a2e (diff)
downloadfirmware-2f3dbb1253839fad1bb2e20db8ef7b88c5fd331a.tar.gz
firmware-2f3dbb1253839fad1bb2e20db8ef7b88c5fd331a.tar.bz2
firmware-2f3dbb1253839fad1bb2e20db8ef7b88c5fd331a.zip
Add new keyboard Plaid and ATMEGA328p support (#5379)
* add plaid * Change usb vid/pid to free id from vusb Trivial fix for vusb core * update readme * update info.json default keymap * fix typo * Replace copyright
Diffstat (limited to 'quantum/config_common.h')
-rw-r--r--quantum/config_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/quantum/config_common.h b/quantum/config_common.h
index 0b2e408a4..c489e1407 100644
--- a/quantum/config_common.h
+++ b/quantum/config_common.h
@@ -59,6 +59,11 @@
#define PINC_ADDRESS 0x3
#define PINB_ADDRESS 0x6
#define PINA_ADDRESS 0x9
+ #elif defined(__AVR_ATmega328P__)
+ #define ADDRESS_BASE 0x00
+ #define PINB_ADDRESS 0x3
+ #define PINC_ADDRESS 0x6
+ #define PIND_ADDRESS 0x9
#else
#error "Pins are not defined"
#endif