Almost every pragma change on PR

That's almost finished, only waiting for reply due to compiling errors
This commit is contained in:
fpazos 2018-10-18 10:43:22 +02:00
parent 21aca299c8
commit 07f23aa862
4 changed files with 8 additions and 19 deletions

View file

@ -1,5 +1,4 @@
#ifndef CONFIG_H #pragma once
#define CONFIG_H
#include "config_common.h" #include "config_common.h"
@ -38,6 +37,4 @@
/* key combination for magic key command */ /* key combination for magic key command */
#define IS_COMMAND() ( \ #define IS_COMMAND() ( \
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
) )
#endif

View file

@ -1,6 +1,4 @@
#ifndef BLUEPILL70_H #pragma once
#define BLUEPILL70_H
#include "bluepill.h" #include "bluepill.h"
// Modified by Xydane // Modified by Xydane
// #define LAYOUT(k00) {{ k00 }} // #define LAYOUT(k00) {{ k00 }}
#endif

View file

@ -1,5 +1,4 @@
#ifndef STM70_CONFIG_H_ #pragma once
#define STM70_CONFIG_H_
/* USB Device descriptor parameter */ /* USB Device descriptor parameter */
#define VENDOR_ID 0xFEED #define VENDOR_ID 0xFEED
@ -23,6 +22,4 @@
// Iso fix for Space Cadet, comment for ANSI layouts // Iso fix for Space Cadet, comment for ANSI layouts
#define LSPO_KEY KC_8 #define LSPO_KEY KC_8
#define RSPC_KEY KC_9 #define RSPC_KEY KC_9
#endif /* STM70_CONFIG_H_ */

View file

@ -15,8 +15,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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#ifndef CONFIG_H #pragma once
#define CONFIG_H
/* define if matrix has ghost */ /* define if matrix has ghost */
//#define MATRIX_HAS_GHOST //#define MATRIX_HAS_GHOST
@ -56,6 +55,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_TAPPING //#define NO_ACTION_TAPPING
//#define NO_ACTION_ONESHOT //#define NO_ACTION_ONESHOT
//#define NO_ACTION_MACRO //#define NO_ACTION_MACRO
//#define NO_ACTION_FUNCTION //#define NO_ACTION_FUNCTION
#endif