aboutsummaryrefslogtreecommitdiff
path: root/keyboards/the_ruler/config.h
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-08-20 21:57:45 -0700
committerDrashna Jaelre <drashna@live.com>2019-08-20 21:57:45 -0700
commit367eac22293ac148e19e545e110d5a591de1eb6e (patch)
tree28f14f652f029d53f2b8962ce3b39359386ec151 /keyboards/the_ruler/config.h
parent5fca6c01204f4cad9af17ec0529a11147a829427 (diff)
downloadqmk_firmware-367eac22293ac148e19e545e110d5a591de1eb6e.tar.gz
qmk_firmware-367eac22293ac148e19e545e110d5a591de1eb6e.zip
[Keyboard] PCB Ruler updates (#6584)
* Move default keymap's rules to keyboard level * Concatenate the two sets of rules This sets CONSOLE_ENABLE to no, which was being set at the keymap level. * Wrap the USB Device Description in quotes Some preventative maintenance. The firmware for the_ruler can't be compiled without this change if `CONSOLE_ENABLE = yes` because this string has a comma, which gets picked up as two arguments by the Command code, instead of one as it should be. * Linting - remove firmware size impacts - remove trailing white space - visual alignment of rules * Use QMK's pre-loaded default rules for atmega32u4 * Update readme - markdown formatting - update Hardware Availability link (Maple Computing's site has disappeared) - update Docs links * Update header files to use #pragma once
Diffstat (limited to 'keyboards/the_ruler/config.h')
-rw-r--r--keyboards/the_ruler/config.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/keyboards/the_ruler/config.h b/keyboards/the_ruler/config.h
index ecae3a4f2..0ec3f69d1 100644
--- a/keyboards/the_ruler/config.h
+++ b/keyboards/the_ruler/config.h
@@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>. 15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/ 16*/
17 17
18#ifndef CONFIG_H 18#pragma once
19#define CONFIG_H
20 19
21#include "config_common.h" 20#include "config_common.h"
22 21
@@ -26,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
26#define DEVICE_VER 0x0001 25#define DEVICE_VER 0x0001
27#define MANUFACTURER Maple Computing 26#define MANUFACTURER Maple Computing
28#define PRODUCT The PCB Ruler 27#define PRODUCT The PCB Ruler
29#define DESCRIPTION A custom keyboard PCB ruler, can also function as a macro pad 28#define DESCRIPTION "A custom keyboard PCB ruler, can also function as a macro pad"
30 29
31/* key matrix size */ 30/* key matrix size */
32#define MATRIX_ROWS 1 31#define MATRIX_ROWS 1
@@ -155,5 +154,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
155#define RGBLIGHT_HUE_STEP 10 154#define RGBLIGHT_HUE_STEP 10
156#define RGBLIGHT_SAT_STEP 17 155#define RGBLIGHT_SAT_STEP 17
157#define RGBLIGHT_VAL_STEP 17 156#define RGBLIGHT_VAL_STEP 17
158
159#endif