diff options
| author | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2018-07-18 17:16:57 -0700 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-07-18 17:16:57 -0700 |
| commit | bc7fe1223d88faa61bdbf4fd4e40088a5691d179 (patch) | |
| tree | e7eeb8942afad28dd588c7289245d0cedf51324d | |
| parent | f804bd3d2db2b6f744dd590c8e3cbce153d8f6b7 (diff) | |
| download | qmk_firmware-bc7fe1223d88faa61bdbf4fd4e40088a5691d179.tar.gz qmk_firmware-bc7fe1223d88faa61bdbf4fd4e40088a5691d179.zip | |
Add #include "config_common.h" after #pragma once to config.h templates (#3444)
| -rw-r--r-- | quantum/template/avr/config.h | 18 | ||||
| -rw-r--r-- | quantum/template/ps2avrgb/config.h | 2 |
2 files changed, 12 insertions, 8 deletions
diff --git a/quantum/template/avr/config.h b/quantum/template/avr/config.h index f7298cebb..6715b22cb 100644 --- a/quantum/template/avr/config.h +++ b/quantum/template/avr/config.h | |||
| @@ -17,6 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 20 | /* USB Device descriptor parameter */ | 22 | /* USB Device descriptor parameter */ |
| 21 | #define VENDOR_ID 0xFEED | 23 | #define VENDOR_ID 0xFEED |
| 22 | #define PRODUCT_ID 0x0000 | 24 | #define PRODUCT_ID 0x0000 |
| @@ -201,14 +203,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 201 | #define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3 | 203 | #define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3 |
| 202 | #define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0 | 204 | #define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0 |
| 203 | #define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1 | 205 | #define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1 |
| 204 | #define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2 | 206 | #define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2 |
| 205 | #define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3 | 207 | #define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3 |
| 206 | #define LCD_RS_PORT LCD_PORT //< port for RS line | 208 | #define LCD_RS_PORT LCD_PORT //< port for RS line |
| 207 | #define LCD_RS_PIN 3 //< pin for RS line | 209 | #define LCD_RS_PIN 3 //< pin for RS line |
| 208 | #define LCD_RW_PORT LCD_PORT //< port for RW line | 210 | #define LCD_RW_PORT LCD_PORT //< port for RW line |
| 209 | #define LCD_RW_PIN 2 //< pin for RW line | 211 | #define LCD_RW_PIN 2 //< pin for RW line |
| 210 | #define LCD_E_PORT LCD_PORT //< port for Enable line | 212 | #define LCD_E_PORT LCD_PORT //< port for Enable line |
| 211 | #define LCD_E_PIN 1 //< pin for Enable line | 213 | #define LCD_E_PIN 1 //< pin for Enable line |
| 212 | #endif | 214 | #endif |
| 213 | */ | 215 | */ |
| 214 | 216 | ||
diff --git a/quantum/template/ps2avrgb/config.h b/quantum/template/ps2avrgb/config.h index d528314cb..d2c83781f 100644 --- a/quantum/template/ps2avrgb/config.h +++ b/quantum/template/ps2avrgb/config.h | |||
| @@ -17,6 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 20 | #define VENDOR_ID 0x20A0 | 22 | #define VENDOR_ID 0x20A0 |
| 21 | #define PRODUCT_ID 0x422D | 23 | #define PRODUCT_ID 0x422D |
| 22 | #define MANUFACTURER You | 24 | #define MANUFACTURER You |
