summaryrefslogtreecommitdiff
path: root/keyboard/planck/keymaps/cbbrowne
diff options
context:
space:
mode:
Diffstat (limited to 'keyboard/planck/keymaps/cbbrowne')
-rw-r--r--keyboard/planck/keymaps/cbbrowne/Makefile42
-rw-r--r--keyboard/planck/keymaps/cbbrowne/config.h (renamed from keyboard/planck/keymaps/cbbrowne/config_user.h)8
-rw-r--r--keyboard/planck/keymaps/cbbrowne/keymap.c2
3 files changed, 11 insertions, 41 deletions
diff --git a/keyboard/planck/keymaps/cbbrowne/Makefile b/keyboard/planck/keymaps/cbbrowne/Makefile
index 4fbe3b6619..581e08cd02 100644
--- a/keyboard/planck/keymaps/cbbrowne/Makefile
+++ b/keyboard/planck/keymaps/cbbrowne/Makefile
@@ -1,45 +1,7 @@
-#----------------------------------------------------------------------------
-# On command line:
-#
-# make all = Make software.
-#
-# make clean = Clean out built project files.
-#
-# make coff = Convert ELF to AVR COFF.
-#
-# make extcoff = Convert ELF to AVR Extended COFF.
-#
-# make program = Download the hex file to the device.
-# Please customize your programmer settings(PROGRAM_CMD)
-#
-# make teensy = Download the hex file to the device, using teensy_loader_cli.
-# (must have teensy_loader_cli installed).
-#
-# make dfu = Download the hex file to the device, using dfu-programmer (must
-# have dfu-programmer installed).
-#
-# make flip = Download the hex file to the device, using Atmel FLIP (must
-# have Atmel FLIP installed).
-#
-# make dfu-ee = Download the eeprom file to the device, using dfu-programmer
-# (must have dfu-programmer installed).
-#
-# make flip-ee = Download the eeprom file to the device, using Atmel FLIP
-# (must have Atmel FLIP installed).
-#
-# make debug = Start either simulavr or avarice as specified for debugging,
-# with avr-gdb or avr-insight as the front end for debugging.
-#
-# make filename.s = Just compile filename.c into the assembler code only.
-#
-# make filename.i = Create a preprocessed source file for use in submitting
-# bug reports to the GCC project.
-#
-# To rebuild project do "make clean" then "make all".
-#----------------------------------------------------------------------------
+
# Build Options
-# change to "no" to disable the options, or define them in the makefile.mk in
+# change to "no" to disable the options, or define them in the Makefile in
# the appropriate keymap folder that will get included automatically
#
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
diff --git a/keyboard/planck/keymaps/cbbrowne/config_user.h b/keyboard/planck/keymaps/cbbrowne/config.h
index de46ec6aaa..2d3df59bd2 100644
--- a/keyboard/planck/keymaps/cbbrowne/config_user.h
+++ b/keyboard/planck/keymaps/cbbrowne/config.h
@@ -1,7 +1,15 @@
+#ifndef CONFIG_USER_H
+#define CONFIG_USER_H
+
+#include "../../config.h"
+
/* cbbrowne user configuration */
#define randadd 53
#define randmul 181
#define randmod 167
+#endif
+
+
diff --git a/keyboard/planck/keymaps/cbbrowne/keymap.c b/keyboard/planck/keymaps/cbbrowne/keymap.c
index 7fe391ec5d..14a5be1708 100644
--- a/keyboard/planck/keymaps/cbbrowne/keymap.c
+++ b/keyboard/planck/keymaps/cbbrowne/keymap.c
@@ -2,7 +2,7 @@
#ifdef BACKLIGHT_ENABLE
#include "backlight.h"
#endif
-#include "config_user.h"
+#include "config.h"
#include "quantum.h"
/* Each layer is given a name to aid in readability, which is then