diff options
Diffstat (limited to 'keyboards/knops')
| -rw-r--r-- | keyboards/knops/mini/config.h | 5 | ||||
| -rw-r--r-- | keyboards/knops/mini/mini.h | 9 |
2 files changed, 5 insertions, 9 deletions
diff --git a/keyboards/knops/mini/config.h b/keyboards/knops/mini/config.h index cf603fbf6..be1cf8819 100644 --- a/keyboards/knops/mini/config.h +++ b/keyboards/knops/mini/config.h | |||
| @@ -15,8 +15,7 @@ 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/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef CONFIG_H | 18 | #pragma once |
| 19 | #define CONFIG_H | ||
| 20 | 19 | ||
| 21 | #include "config_common.h" | 20 | #include "config_common.h" |
| 22 | 21 | ||
| @@ -156,5 +155,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 156 | //#define NO_ACTION_ONESHOT | 155 | //#define NO_ACTION_ONESHOT |
| 157 | //#define NO_ACTION_MACRO | 156 | //#define NO_ACTION_MACRO |
| 158 | //#define NO_ACTION_FUNCTION | 157 | //#define NO_ACTION_FUNCTION |
| 159 | |||
| 160 | #endif | ||
diff --git a/keyboards/knops/mini/mini.h b/keyboards/knops/mini/mini.h index e2d6c546b..e028dea6d 100644 --- a/keyboards/knops/mini/mini.h +++ b/keyboards/knops/mini/mini.h | |||
| @@ -13,18 +13,17 @@ | |||
| 13 | * You should have received a copy of the GNU General Public License | 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/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | |||
| 16 | #include "quantum.h" | 17 | #include "quantum.h" |
| 17 | 18 | ||
| 18 | #ifndef KNOPS_MINI_H | 19 | #pragma once |
| 19 | #define KNOPS_MINI_H | ||
| 20 | 20 | ||
| 21 | // This a shortcut to help you visually see your layout. | 21 | // This a shortcut to help you visually see your layout. |
| 22 | // The following is an example using the Planck MIT layout | 22 | // The following is an example using the Planck MIT layout |
| 23 | // The first section contains all of the arguments | 23 | // The first section contains all of the arguments |
| 24 | // The second converts the arguments into a two-dimensional array | 24 | // The second converts the arguments into a two-dimensional array |
| 25 | #define LAYOUT( \ | 25 | #define LAYOUT( \ |
| 26 | K00, K01, K02, K03, K04, K05 \ | 26 | k00, k01, k02, k03, k04, k05 \ |
| 27 | ) { \ | 27 | ) { \ |
| 28 | { K00, K01, K02, K03, K04, K05 }, \ | 28 | { k00, k01, k02, k03, k04, k05 } \ |
| 29 | } | 29 | } |
| 30 | #endif \ No newline at end of file | ||
