diff options
Diffstat (limited to 'keyboards/preonic/preonic.h')
-rw-r--r-- | keyboards/preonic/preonic.h | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/keyboards/preonic/preonic.h b/keyboards/preonic/preonic.h index 4f8ebcc3e..6b10a425a 100644 --- a/keyboards/preonic/preonic.h +++ b/keyboards/preonic/preonic.h | |||
@@ -1,3 +1,20 @@ | |||
1 | /* | ||
2 | * Copyright 2018 Jack Humbert <jack.humb@gmail.com> | ||
3 | * | ||
4 | * This program is free software: you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation, either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | ||
17 | |||
1 | #pragma once | 18 | #pragma once |
2 | 19 | ||
3 | #include "quantum.h" | 20 | #include "quantum.h" |
@@ -5,16 +22,14 @@ | |||
5 | /************************************************** | 22 | /************************************************** |
6 | ** Include headers specific to keyboard revision ** | 23 | ** Include headers specific to keyboard revision ** |
7 | **************************************************/ | 24 | **************************************************/ |
8 | #ifdef KEYBOARD_preonic_rev1 | 25 | #if defined(KEYBOARD_preonic_rev1) |
9 | #include "rev1.h" | 26 | # include "rev1.h" |
10 | #endif | 27 | #elif defined(KEYBOARD_preonic_rev2) |
11 | 28 | # include "rev2.h" | |
12 | #ifdef KEYBOARD_preonic_rev2 | 29 | #elif defined(KEYBOARD_preonic_rev3) |
13 | #include "rev2.h" | 30 | # include "rev3.h" |
14 | #endif | 31 | #elif defined(KEYBOARD_preonic_rev3_drop) |
15 | 32 | # include "rev3_drop.h" | |
16 | #ifdef KEYBOARD_preonic_rev3 | ||
17 | #include "rev3.h" | ||
18 | #endif | 33 | #endif |
19 | 34 | ||
20 | 35 | ||