Remove redundant keyboard headers (#25208)

This commit is contained in:
Joel Challis 2025-05-01 15:02:17 +01:00 committed by GitHub
parent e98c41c02f
commit 4fb3cf0712
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 90 additions and 226 deletions

View file

@ -1,6 +0,0 @@
// Copyright 2023 lendunistus
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#define CAPS_LOCK_ENABLE true

View file

@ -16,6 +16,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "quantum.h"
#ifndef CAPS_LOCK_ENABLE
# define CAPS_LOCK_ENABLE true
#endif
bool led_update_kb(led_t led_state) {
bool res = led_update_user(led_state);
if (CAPS_LOCK_ENABLE && res) {