summary refs log tree commit diff
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2022-10-27 03:57:50 -0500
committerGitHub <noreply@github.com>2022-10-27 09:57:50 +0100
commit18a70451fd4d2bcf8b1914d89f386e411da8b6aa (patch)
tree62462833ddf9b674d3bb51a495d35686ab1ffc1e
parent432feecc61d9b4ede3fb7b65920714853209a7a7 (diff)
userspace: fix up sethBarberee sinc keymap CI errors (#18865)
-rw-r--r--keyboards/keebio/sinc/keymaps/sethBarberee/rules.mk1
-rw-r--r--users/sethBarberee/config.h84
2 files changed, 49 insertions, 36 deletions
diff --git a/keyboards/keebio/sinc/keymaps/sethBarberee/rules.mk b/keyboards/keebio/sinc/keymaps/sethBarberee/rules.mk
index 049c5ae9b5..1475c36e7c 100644
--- a/keyboards/keebio/sinc/keymaps/sethBarberee/rules.mk
+++ b/keyboards/keebio/sinc/keymaps/sethBarberee/rules.mk
@@ -1,3 +1,4 @@
 BACKLIGHT_ENABLE=no
 CONSOLE_ENABLE=no
 TAP_DANCE_ENABLE=yes
+MUSIC_ENABLE=no
diff --git a/users/sethBarberee/config.h b/users/sethBarberee/config.h
index c97d39151b..7e9fd7d2f1 100644
--- a/users/sethBarberee/config.h
+++ b/users/sethBarberee/config.h
@@ -1,45 +1,57 @@
- /* Copyright 2021 SethBarberee <seth.barberee@gmail.com>
-  *
-  * This program is free software: you can redistribute it and/or modify
-  * it under the terms of the GNU General Public License as published by
-  * the Free Software Foundation, either version 2 of the License, or
-  * (at your option) any later version.
-  *
-  * This program is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  * GNU General Public License for more details.
-  *
-  * You should have received a copy of the GNU General Public License
-  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
-  */
+/* Copyright 2021 SethBarberee <seth.barberee@gmail.com>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
 #pragma once
 
 #ifdef RGBLIGHT_ENABLE
-#   define RGBLIGHT_SLEEP
-# ifndef RGBLIGHT_HUE_STEP
-#   define RGBLIGHT_HUE_STEP 8
-#endif
-# ifndef RGBLIGHT_SAT_STEPT
-#   define RGBLIGHT_SAT_STEP 8
-#endif
-# ifndef RGBLIGHT_VAL_STEP
-#   define RGBLIGHT_VAL_STEP 8
-#endif
+#    define RGBLIGHT_SLEEP
+#    ifndef RGBLIGHT_HUE_STEP
+#        define RGBLIGHT_HUE_STEP 8
+#    endif
+#    ifndef RGBLIGHT_SAT_STEPT
+#        define RGBLIGHT_SAT_STEP 8
+#    endif
+#    ifndef RGBLIGHT_VAL_STEP
+#        define RGBLIGHT_VAL_STEP 8
+#    endif
+
 // Trim animations I don't use/like
-#   ifdef RGBLIGHT_ANIMATIONS
-#       undef RGBLIGHT_ANIMATIONS
-#   endif
-#   define RGBLIGHT_EFFECT_BREATHING
-#   define RGBLIGHT_EFFECT_STATIC_GRADIENT
-#   define RGBLIGHT_EFFECT_TWINKLE
-#   ifndef CAPS_LOCK_MODE
-#       define CAPS_LOCK_MODE RGBLIGHT_MODE_STATIC_LIGHT
-#   endif
+#    ifdef RGBLIGHT_ANIMATIONS
+#        undef RGBLIGHT_ANIMATIONS
+#    endif
+#    ifndef RGBLIGHT_EFFECT_BREATHING
+#        define RGBLIGHT_EFFECT_BREATHING
+#    endif
+#    ifndef RGBLIGHT_EFFECT_STATIC_GRADIENT
+#        define RGBLIGHT_EFFECT_STATIC_GRADIENT
+#    endif
+#    ifndef RGBLIGHT_EFFECT_TWINKLE
+#        define RGBLIGHT_EFFECT_TWINKLE
+#    endif
+#    ifdef RGBLIGHT_DEFAULT_MODE
+#        undef RGBLIGHT_DEFAULT_MODE
+#        define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_TWINKLE
+#    endif
+
+#    ifndef CAPS_LOCK_MODE
+#        define CAPS_LOCK_MODE RGBLIGHT_MODE_STATIC_LIGHT
+#    endif
 #endif // RGBLIGHT_ENABLE
 
 #ifndef AUDIO_ENABLE
-#       define NO_MUSIC_MODE
+#    define NO_MUSIC_MODE
 #endif // AUDIO_ENABLE
 
 #define FORCE_NKRO // Force NKRO on by default
@@ -47,7 +59,7 @@
 // Totally taken from @drashna's userspace
 #ifdef TAPPING_TERM
 #    undef TAPPING_TERM
-#endif  // TAPPING_TERM
+#endif // TAPPING_TERM
 //
 // Keeping these commented for examples when I want to tweak per keyboard
 // but setting a default across my boards for now