summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodash
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-03-19 12:57:40 -0700
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-03-19 12:57:40 -0700
commit0072fdd799ffe61bf64f12c23335da3adeb083e5 (patch)
tree7f30d26e4542c5ff3f6da38a75c329f5d0235938 /keyboards/ergodash
parent29bfd634e16e196c86b0a5f63e179af1f9a52902 (diff)
Cleanup Default Keymaps (#5442)
* Cleanup Default Keymaps to conform to QMK Firmware standards * Minor fixes * Revert some changes
Diffstat (limited to 'keyboards/ergodash')
-rw-r--r--keyboards/ergodash/rev1/keymaps/default/config.h7
-rw-r--r--keyboards/ergodash/rev1/keymaps/default/keymap.c2
-rw-r--r--keyboards/ergodash/rev2/keymaps/default/config.h6
-rw-r--r--keyboards/ergodash/rev2/keymaps/default/keymap.c2
4 files changed, 4 insertions, 13 deletions
diff --git a/keyboards/ergodash/rev1/keymaps/default/config.h b/keyboards/ergodash/rev1/keymaps/default/config.h
index 7e7fe4f69a..dc00328dcb 100644
--- a/keyboards/ergodash/rev1/keymaps/default/config.h
+++ b/keyboards/ergodash/rev1/keymaps/default/config.h
@@ -18,10 +18,9 @@ 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.h"
+// place overrides here
/* Use I2C or Serial, not both */
@@ -34,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define MASTER_RIGHT
// #define EE_HANDS
-#endif
-
#undef RGBLED_NUM
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 24
diff --git a/keyboards/ergodash/rev1/keymaps/default/keymap.c b/keyboards/ergodash/rev1/keymaps/default/keymap.c
index 6f20908bc7..a1bfb22678 100644
--- a/keyboards/ergodash/rev1/keymaps/default/keymap.c
+++ b/keyboards/ergodash/rev1/keymaps/default/keymap.c
@@ -1,6 +1,4 @@
#include QMK_KEYBOARD_H
-#include "action_layer.h"
-#include "eeconfig.h"
extern keymap_config_t keymap_config;
diff --git a/keyboards/ergodash/rev2/keymaps/default/config.h b/keyboards/ergodash/rev2/keymaps/default/config.h
index 7e7fe4f69a..90a364811e 100644
--- a/keyboards/ergodash/rev2/keymaps/default/config.h
+++ b/keyboards/ergodash/rev2/keymaps/default/config.h
@@ -18,10 +18,9 @@ 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.h"
+// place overrides here
/* Use I2C or Serial, not both */
@@ -34,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define MASTER_RIGHT
// #define EE_HANDS
-#endif
#undef RGBLED_NUM
#define RGBLIGHT_ANIMATIONS
diff --git a/keyboards/ergodash/rev2/keymaps/default/keymap.c b/keyboards/ergodash/rev2/keymaps/default/keymap.c
index b709ab7e98..5412eb0c0c 100644
--- a/keyboards/ergodash/rev2/keymaps/default/keymap.c
+++ b/keyboards/ergodash/rev2/keymaps/default/keymap.c
@@ -1,6 +1,4 @@
#include QMK_KEYBOARD_H
-#include "action_layer.h"
-#include "eeconfig.h"
extern keymap_config_t keymap_config;