Переглянути джерело

Add Planck rev1 and rev2, clean up rev3-5 config.h

Jordi Pakey-Rodriguez 6 роки тому
батько
коміт
db8d68acdc

+ 3 - 0
keyboards/planck/rev1/config.h

@@ -0,0 +1,3 @@
+#pragma once
+
+#define DEVICE_VER 0x0001

+ 1 - 0
keyboards/planck/rev1/rules.mk

@@ -0,0 +1 @@
+AUDIO_ENABLE = no           # Audio output on port C6

+ 3 - 0
keyboards/planck/rev2/config.h

@@ -0,0 +1,3 @@
+#pragma once
+
+#define DEVICE_VER 0x0002

+ 1 - 0
keyboards/planck/rev2/rules.mk

@@ -0,0 +1 @@
+AUDIO_ENABLE = no           # Audio output on port C6

+ 1 - 6
keyboards/planck/rev3/config.h

@@ -1,8 +1,3 @@
-#ifndef REV3_CONFIG_H
-#define REV3_CONFIG_H
-
-#include "config_common.h"
+#pragma once
 
 #define DEVICE_VER 0x0003
-
-#endif

+ 1 - 6
keyboards/planck/rev4/config.h

@@ -1,8 +1,3 @@
-#ifndef REV4_CONFIG_H
-#define REV4_CONFIG_H
-
-#include "config_common.h"
+#pragma once
 
 #define DEVICE_VER 0x0004
-
-#endif

+ 1 - 6
keyboards/planck/rev5/config.h

@@ -1,8 +1,3 @@
-#ifndef REV5_CONFIG_H
-#define REV5_CONFIG_H
-
-#include "config_common.h"
+#pragma once
 
 #define DEVICE_VER 0x0005
-
-#endif