M keyboards/planck/keymaps/ishtob/keymap.c => keyboards/planck/keymaps/ishtob/keymap.c +2 -0
@@ 327,7 327,9 @@ void matrix_init_keymap(void) {
void startup_user()
{
+ #ifdef RGB_MATRIX_ENABLE
rgblight_mode(RGB_MATRIX_CYCLE_ALL);
+ #endif //RGB_matrix
wait_ms(20); // gets rid of tick
PLAY_NOTE_ARRAY(tone_startup, false, 0);
}
M keyboards/planck/keymaps/ishtob/rule.mk => keyboards/planck/keymaps/ishtob/rule.mk +0 -1
@@ 12,7 12,6 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # USB Nkey Rollover
CUSTOM_MATRIX = yes # Custom matrix file
AUDIO_ENABLE = yes
-RGB_MATRIX_ENABLE = yes
ENCODER_ENABLE = yes
# SERIAL_LINK_ENABLE = yes
M keyboards/planck/rev6/chconf.h => keyboards/planck/rev6/chconf.h +2 -2
@@ 41,14 41,14 @@
* @brief System time counter resolution.
* @note Allowed values are 16 or 32 bits.
*/
-#define CH_CFG_ST_RESOLUTION 16
+#define CH_CFG_ST_RESOLUTION 32
/**
* @brief System tick frequency.
* @details Frequency of the system timer that drives the system ticks. This
* setting also defines the system tick time unit.
*/
-#define CH_CFG_ST_FREQUENCY 10000
+#define CH_CFG_ST_FREQUENCY 100000
/**
* @brief Time delta constant for the tick-less mode.
M keyboards/planck/rev6/halconf.h => keyboards/planck/rev6/halconf.h +1 -1
@@ 111,7 111,7 @@
* @brief Enables the PWM subsystem.
*/
#if !defined(HAL_USE_PWM) || defined(__DOXYGEN__)
-#define HAL_USE_PWM TRUE
+#define HAL_USE_PWM FALSE
#endif
/**
M keyboards/planck/rev6/mcuconf.h => keyboards/planck/rev6/mcuconf.h +1 -1
@@ 225,7 225,7 @@
* ST driver system settings.
*/
#define STM32_ST_IRQ_PRIORITY 8
-#define STM32_ST_USE_TIMER 4
+#define STM32_ST_USE_TIMER 2
/*
* UART driver system settings.
M users/ishtob/rules.mk => users/ishtob/rules.mk +1 -1
@@ 1,5 1,5 @@
SRC += ishtob.c
-ifneq ($(wildcard $(USER_PATH)/macros_private.c),"")
+ifneq ("$(wildcard $(USER_PATH)/macros_private.c)","")
SRC += macros_private.c
endif
ifeq ($(strip $(NO_SECRETS)), yes)