forked from mirror/qmk_firmware
Convert eeconfig_init_kb implementations to config (#24087)
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user