diff options
Diffstat (limited to 'quantum/config_common.h')
| -rw-r--r-- | quantum/config_common.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/quantum/config_common.h b/quantum/config_common.h index 4bdb2065d..c88e02d91 100644 --- a/quantum/config_common.h +++ b/quantum/config_common.h | |||
| @@ -1,9 +1,27 @@ | |||
| 1 | /* Copyright 2015-2017 Jack Humbert | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 1 | #ifndef CONFIG_DEFINITIONS_H | 17 | #ifndef CONFIG_DEFINITIONS_H |
| 2 | #define CONFIG_DEFINITIONS_H | 18 | #define CONFIG_DEFINITIONS_H |
| 3 | 19 | ||
| 4 | /* diode directions */ | 20 | /* diode directions */ |
| 5 | #define COL2ROW 0 | 21 | #define COL2ROW 0 |
| 6 | #define ROW2COL 1 | 22 | #define ROW2COL 1 |
| 23 | #define CUSTOM_MATRIX 2 /* Disables built-in matrix scanning code */ | ||
| 24 | |||
| 7 | /* I/O pins */ | 25 | /* I/O pins */ |
| 8 | #ifndef F0 | 26 | #ifndef F0 |
| 9 | #define B0 0x30 | 27 | #define B0 0x30 |
