[Keyboard] Fix resume1800 - Dynamic layer count undefined (#16877)
This commit is contained in:
		
							parent
							
								
									ad9a137942
								
							
						
					
					
						commit
						1ab1ce1b46
					
				
					 3 changed files with 7 additions and 37 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -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 */
 | 
			
		||||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,4 @@
 | 
			
		|||
// Copyright 2022 QMK
 | 
			
		||||
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
			
		||||
#pragma once
 | 
			
		||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 1
 | 
			
		||||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
# Resume1800
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
An 1800 compact keyboard that is built with soley through-hole components
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue