summaryrefslogtreecommitdiff
path: root/keyboards/nebula12/config.h
diff options
context:
space:
mode:
authoryiancar <yiangosyiangou@cytanet.com.cy>2020-10-18 14:37:33 +0100
committerGitHub <noreply@github.com>2020-10-19 00:37:33 +1100
commitd49dcdd667cc5e154a5c42a5be7e0f3391c8401c (patch)
treec1f82c7ac6d98384c4867bafa777e7124237d745 /keyboards/nebula12/config.h
parentf952d4f7b779474918453b7ec3ccccdcfbd63b58 (diff)
Nebula12 RGBLIGHT buffer workaround (#10555)
* Work around for rgblight buffer * Update config.h * Prettify * Clip led range
Diffstat (limited to 'keyboards/nebula12/config.h')
-rwxr-xr-xkeyboards/nebula12/config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/nebula12/config.h b/keyboards/nebula12/config.h
index 8b460a87af..97f489fee2 100755
--- a/keyboards/nebula12/config.h
+++ b/keyboards/nebula12/config.h
@@ -41,6 +41,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5
+/* Ensure we jump to bootloader if the RESET keycode was pressed */
+#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
+
/* Setting up 400KHz I2C Clock for a 48MHz system clock */
#define I2C1_SCL_PAL_MODE 1
#define I2C1_SDA_PAL_MODE 1
@@ -95,12 +98,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN B15
#ifdef RGB_DI_PIN
- #define RGBLED_NUM 4
+ #define RGBLED_NUM 10 /* If number is smaller, buffer updates too fast causing glitches */
#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 */
#define RGBLIGHT_ANIMATIONS
#endif