Skip to content

Commit

Permalink
[Keyboard] Fix resume1800 - Dynamic layer count undefined (qmk#16877)
Browse files Browse the repository at this point in the history
  • Loading branch information
waffle87 authored and zykrah committed Jul 2, 2022
1 parent cdbd7f5 commit ef6f7d2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 37 deletions.
38 changes: 2 additions & 36 deletions keyboards/crimsonkeyboards/resume1800/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,37 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#define USB_MAX_POWER_CONSUMPTION 100

/*
* Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
*/
// #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6

// #define BACKLIGHT_PIN B7
// #define BACKLIGHT_BREATHING
// #define BACKLIGHT_LEVELS 3

// #define RGB_DI_PIN E2
// #ifdef RGB_DI_PIN
// #define RGBLED_NUM 16
// #define RGBLIGHT_HUE_STEP 8
// #define RGBLIGHT_SAT_STEP 8
// #define RGBLIGHT_VAL_STEP 8
// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
// /*== all animations enable ==*/
// #define RGBLIGHT_ANIMATIONS
// /*== or choose animations ==*/
// #define RGBLIGHT_EFFECT_BREATHING
// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
// #define RGBLIGHT_EFFECT_SNAKE
// #define RGBLIGHT_EFFECT_KNIGHT
// #define RGBLIGHT_EFFECT_CHRISTMAS
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
// #define RGBLIGHT_EFFECT_RGB_TEST
// #define RGBLIGHT_EFFECT_ALTERNATING
// #endif

/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5

Expand All @@ -89,8 +58,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* define if matrix has ghost (lacks anti-ghosting diodes) */
//#define MATRIX_HAS_GHOST

/* number of backlight levels */

/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
Expand Down Expand Up @@ -139,6 +106,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define NO_ACTION_ONESHOT

/* Bootmagic Lite key configuration */
#define BOOTMAGIC_LITE_ROW 0
#define BOOTMAGIC_LITE_COLUMN 0

//#define BOOTMAGIC_LITE_ROW 0
//#define BOOTMAGIC_LITE_COLUMN 0
4 changes: 4 additions & 0 deletions keyboards/crimsonkeyboards/resume1800/keymaps/via/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Copyright 2022 QMK
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define DYNAMIC_KEYMAP_LAYER_COUNT 1
2 changes: 1 addition & 1 deletion keyboards/crimsonkeyboards/resume1800/readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Resume1800

![Resume1800](https://i.imgur.com/IjP3Opw.jpg)
![Resume1800](https://i.imgur.com/IjP3Opwh.jpg)

An 1800 compact keyboard that is built with soley through-hole components

Expand Down

0 comments on commit ef6f7d2

Please sign in to comment.