From 07f23aa862b370cdf0ae37d6f2130c9e9856f491 Mon Sep 17 00:00:00 2001 From: fpazos <30479687+fpazos@users.noreply.github.com> Date: Thu, 18 Oct 2018 10:43:22 +0200 Subject: [PATCH] Almost every pragma change on PR That's almost finished, only waiting for reply due to compiling errors --- keyboards/gonnerd/config.h | 7 ++----- keyboards/handwired/bluepill/bluepill70/bluepill70.h | 6 ++---- keyboards/handwired/bluepill/bluepill70/config.h | 7 ++----- keyboards/handwired/bluepill/config.h | 7 ++----- 4 files changed, 8 insertions(+), 19 deletions(-) diff --git a/keyboards/gonnerd/config.h b/keyboards/gonnerd/config.h index cad8fe5861..bdd651d66c 100644 --- a/keyboards/gonnerd/config.h +++ b/keyboards/gonnerd/config.h @@ -1,5 +1,4 @@ -#ifndef CONFIG_H -#define CONFIG_H +#pragma once #include "config_common.h" @@ -38,6 +37,4 @@ /* key combination for magic key command */ #define IS_COMMAND() ( \ keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ -) - -#endif +) \ No newline at end of file diff --git a/keyboards/handwired/bluepill/bluepill70/bluepill70.h b/keyboards/handwired/bluepill/bluepill70/bluepill70.h index 37b4d9bb0b..8a313cc500 100644 --- a/keyboards/handwired/bluepill/bluepill70/bluepill70.h +++ b/keyboards/handwired/bluepill/bluepill70/bluepill70.h @@ -1,6 +1,4 @@ -#ifndef BLUEPILL70_H -#define BLUEPILL70_H +#pragma once #include "bluepill.h" // Modified by Xydane -// #define LAYOUT(k00) {{ k00 }} -#endif +// #define LAYOUT(k00) {{ k00 }} \ No newline at end of file diff --git a/keyboards/handwired/bluepill/bluepill70/config.h b/keyboards/handwired/bluepill/bluepill70/config.h index bcb96062f3..87fd74633f 100644 --- a/keyboards/handwired/bluepill/bluepill70/config.h +++ b/keyboards/handwired/bluepill/bluepill70/config.h @@ -1,5 +1,4 @@ -#ifndef STM70_CONFIG_H_ -#define STM70_CONFIG_H_ +#pragma once /* USB Device descriptor parameter */ #define VENDOR_ID 0xFEED @@ -23,6 +22,4 @@ // Iso fix for Space Cadet, comment for ANSI layouts #define LSPO_KEY KC_8 -#define RSPC_KEY KC_9 - -#endif /* STM70_CONFIG_H_ */ \ No newline at end of file +#define RSPC_KEY KC_9 \ No newline at end of file diff --git a/keyboards/handwired/bluepill/config.h b/keyboards/handwired/bluepill/config.h index 77611a2134..aeab1808a8 100644 --- a/keyboards/handwired/bluepill/config.h +++ b/keyboards/handwired/bluepill/config.h @@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef CONFIG_H -#define CONFIG_H +#pragma once /* define if matrix has ghost */ //#define MATRIX_HAS_GHOST @@ -56,6 +55,4 @@ along with this program. If not, see . //#define NO_ACTION_TAPPING //#define NO_ACTION_ONESHOT //#define NO_ACTION_MACRO -//#define NO_ACTION_FUNCTION - -#endif \ No newline at end of file +//#define NO_ACTION_FUNCTION \ No newline at end of file