summaryrefslogtreecommitdiff
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 ecae3a4f21..0ec3f69d1b 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
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef CONFIG_H
-#define CONFIG_H
+#pragma once
#include "config_common.h"
@@ -26,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DEVICE_VER 0x0001
#define MANUFACTURER Maple Computing
#define PRODUCT The PCB Ruler
-#define DESCRIPTION A custom keyboard PCB ruler, can also function as a macro pad
+#define DESCRIPTION "A custom keyboard PCB ruler, can also function as a macro pad"
/* key matrix size */
#define MATRIX_ROWS 1
@@ -155,5 +154,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
-
-#endif