Explorar o código

Additional cleanup of orthodox files and keymaps

Drashna Jaelre %!s(int64=6) %!d(string=hai) anos
pai
achega
c9a2d9d1aa

+ 1 - 5
keyboards/orthodox/keymaps/oscillope/config.h

@@ -19,10 +19,8 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
+#pragma once
 
-#include "config_common.h"
 
 /* Use I2C or Serial, not both */
 
@@ -37,5 +35,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #define TAPPING_TERM 200
 #define TAPPING_TOGGLE 3
-
-#endif

+ 1 - 5
keyboards/orthodox/keymaps/rfvizarra/config.h

@@ -19,10 +19,8 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
 
-#include "config_common.h"
+#pragma once
 
 #ifdef AUDIO_ENABLE
 #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
@@ -41,5 +39,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 // #define MASTER_LEFT
 // #define MASTER_RIGHT
 #define EE_HANDS
-
-#endif

+ 1 - 6
keyboards/orthodox/keymaps/xyverz/config.h

@@ -19,10 +19,7 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
-
-#include "../../config.h"
+#pragma once
 
 /* Use I2C or Serial, not both */
 
@@ -34,5 +31,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #define MASTER_LEFT
 // #define _MASTER_RIGHT
 // #define EE_HANDS
-
-#endif

+ 3 - 6
keyboards/orthodox/orthodox.h

@@ -1,5 +1,6 @@
-#ifndef ORTHODOX_H
-#define ORTHODOX_H
+#pragma once
+
+#include "quantum.h"
 
 #ifdef KEYBOARD_orthodox_rev1
     #include "rev1.h"
@@ -25,7 +26,3 @@
 		{ KC_##LR18, KC_##LR17, KC_##LR16, KC_##LR15, KC_##LR14, KC_##LR13, KC_##LR12, KC_NO, KC_##LR10 }, \
 		{ KC_##LR28, KC_##LR27, KC_##LR26, KC_##LR25, KC_##LR24, KC_##LR23, KC_##LR22, KC_##LR21, KC_##LR20 } \
 	}
-
-#include "quantum.h"
-
-#endif

+ 1 - 6
keyboards/orthodox/rev1/rev1.h

@@ -19,8 +19,7 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#ifndef REV1_H
-#define REV1_H
+#pragma once
 
 #include "orthodox.h"
 
@@ -42,7 +41,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 		{ R18, R17, R16, R15, R14, R13, R12, KC_NO, R10 }, \
 		{ R28, R27, R26, R25, R24, R23, R22, R21, R20 } \
 	}
-
-#endif
-
-

+ 1 - 5
keyboards/orthodox/rev3/rev3.h

@@ -19,8 +19,7 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#ifndef REV3_H
-#define REV3_H
+#pragma once
 
 #include "orthodox.h"
 
@@ -42,6 +41,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 		{ R18, R17, R16, R15, R14, R13, R12, KC_NO, R10 }, \
 		{ R28, R27, R26, R25, R24, R23, R22, R21, R20 } \
 	}
-
-#endif
-

+ 1 - 5
keyboards/orthodox/rev3_teensy/rev3_teensy.h

@@ -19,8 +19,7 @@ You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#ifndef REV3_TEENSY_H
-#define REV3_TEENSY_H
+#pragma once
 
 #include "orthodox.h"
 
@@ -42,6 +41,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 		{ R18, R17, R16, R15, R14, R13, R12, KC_NO, R10 }, \
 		{ R28, R27, R26, R25, R24, R23, R22, R21, R20 } \
 	}
-
-#endif
-