diff options
author | Joel Challis <git@zvecr.com> | 2024-07-12 08:06:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-12 08:06:19 +0100 |
commit | 52ee9f2ce1dd7b67a9cd1332d198b63c1d0dc7c8 (patch) | |
tree | 528ff75557ec211a539df849e996f802c8fb608b /keyboards/handwired | |
parent | 2c2885639e7e6e923c7fe6b55082403acfe70276 (diff) | |
download | qmk_firmware-52ee9f2ce1dd7b67a9cd1332d198b63c1d0dc7c8.tar.gz qmk_firmware-52ee9f2ce1dd7b67a9cd1332d198b63c1d0dc7c8.zip |
Convert `eeconfig_init_kb` implementations to config (#24087)
Diffstat (limited to 'keyboards/handwired')
-rw-r--r-- | keyboards/handwired/bento/rev1/config.h (renamed from keyboards/handwired/bento/rev1/rev1.c) | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/keyboards/handwired/bento/rev1/rev1.c b/keyboards/handwired/bento/rev1/config.h index 1dd5b683f1..aeb48915b9 100644 --- a/keyboards/handwired/bento/rev1/rev1.c +++ b/keyboards/handwired/bento/rev1/config.h @@ -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) |