Convert eeconfig_init_kb
implementations to config (#24087)
This commit is contained in:
parent
2c2885639e
commit
52ee9f2ce1
31 changed files with 63 additions and 210 deletions
|
@ -13,16 +13,6 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "quantum.h"
|
||||
#pragma once
|
||||
|
||||
void eeconfig_init_kb(void) {
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
rgblight_enable(); // Enable RGB by default
|
||||
rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness
|
||||
#ifdef RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
||||
rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default
|
||||
#endif
|
||||
#endif
|
||||
|
||||
eeconfig_init_user();
|
||||
}
|
||||
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_MODE_RAINBOW_SWIRL + 2)
|
Loading…
Add table
Add a link
Reference in a new issue