diff options
author | Danny <nooges@users.noreply.github.com> | 2018-08-13 15:05:58 -0400 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-08-13 12:05:58 -0700 |
commit | 05b7383703d9e7bb68f29765adf865ba78facf2d (patch) | |
tree | 63420634e49af91a45a87119fba077ef76cd7f05 /keyboards/levinson/keymaps/bakingpy2u | |
parent | 39256c2449c9c56562f3110f8655fdaf3e2cd5cc (diff) | |
download | qmk_firmware-05b7383703d9e7bb68f29765adf865ba78facf2d.tar.gz qmk_firmware-05b7383703d9e7bb68f29765adf865ba78facf2d.zip |
Keyboard: Refactor Levinson to use split common code (#3639)
* Migrate Levinson to use split_common code
* Update keymap
Diffstat (limited to 'keyboards/levinson/keymaps/bakingpy2u')
-rw-r--r-- | keyboards/levinson/keymaps/bakingpy2u/config.h | 7 | ||||
-rw-r--r-- | keyboards/levinson/keymaps/bakingpy2u/keymap.c | 4 | ||||
-rw-r--r-- | keyboards/levinson/keymaps/bakingpy2u/rules.mk | 4 |
3 files changed, 2 insertions, 13 deletions
diff --git a/keyboards/levinson/keymaps/bakingpy2u/config.h b/keyboards/levinson/keymaps/bakingpy2u/config.h index 75753ac2e7..1db6ea433f 100644 --- a/keyboards/levinson/keymaps/bakingpy2u/config.h +++ b/keyboards/levinson/keymaps/bakingpy2u/config.h @@ -1,7 +1,4 @@ -#ifndef CONFIG_USER_H -#define CONFIG_USER_H - -#include "config_common.h" +#pragma once /* Use I2C or Serial, not both */ @@ -22,5 +19,3 @@ #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 - -#endif diff --git a/keyboards/levinson/keymaps/bakingpy2u/keymap.c b/keyboards/levinson/keymaps/bakingpy2u/keymap.c index da46d2a05a..219e3468fb 100644 --- a/keyboards/levinson/keymaps/bakingpy2u/keymap.c +++ b/keyboards/levinson/keymaps/bakingpy2u/keymap.c @@ -1,6 +1,4 @@ -#include "levinson.h" -#include "action_layer.h" -#include "eeconfig.h" +#include QMK_KEYBOARD_H extern keymap_config_t keymap_config; diff --git a/keyboards/levinson/keymaps/bakingpy2u/rules.mk b/keyboards/levinson/keymaps/bakingpy2u/rules.mk index 22b6ec4766..d7463419b4 100644 --- a/keyboards/levinson/keymaps/bakingpy2u/rules.mk +++ b/keyboards/levinson/keymaps/bakingpy2u/rules.mk @@ -1,6 +1,2 @@ RGBLIGHT_ENABLE = yes BACKLIGHT_ENABLE = yes - -ifndef QUANTUM_DIR - include ../../../../Makefile -endif |