]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - quantum/config_common.h
[Keyboard] leds in default keymap (#6357)
[qmk_firmware.git] / quantum / config_common.h
index 0b2e408a43f238e5b5ad7d04942f12a1b4649667..bc4d9ec1af1a03a9f4d079cf0c6a8abaae93fb8e 100644 (file)
         #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
     #define B13 PAL_LINE(GPIOB, 13)
     #define B14 PAL_LINE(GPIOB, 14)
     #define B15 PAL_LINE(GPIOB, 15)
+    #define B16 PAL_LINE(GPIOB, 16)
+    #define B17 PAL_LINE(GPIOB, 17)
     #define C0  PAL_LINE(GPIOC, 0)
     #define C1  PAL_LINE(GPIOC, 1)
     #define C2  PAL_LINE(GPIOC, 2)