aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/common/led.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-11-08 22:31:16 +0000
committerGitHub <noreply@github.com>2020-11-08 22:31:16 +0000
commit1ff5ee255fadcd6bfc4defb68ef097d67ebd40ad (patch)
tree559d771e6c2490ea7816b095b0e6e9a196462ec0 /tmk_core/common/led.h
parent9cd3ffa5ba1187c0bc11b613078d89b503dcf419 (diff)
downloadqmk_firmware-1ff5ee255fadcd6bfc4defb68ef097d67ebd40ad.tar.gz
qmk_firmware-1ff5ee255fadcd6bfc4defb68ef097d67ebd40ad.zip
Indicator LEDs as config (#10816)
* First pass * Add config options to docs * Update some wording * Slight tidy up of backlight caps logic * Init pin to correct state * Move init location * Reverse default state
Diffstat (limited to 'tmk_core/common/led.h')
-rw-r--r--tmk_core/common/led.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/tmk_core/common/led.h b/tmk_core/common/led.h
index 990282862..81c664d60 100644
--- a/tmk_core/common/led.h
+++ b/tmk_core/common/led.h
@@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>. 15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/ 16*/
17 17
18#ifndef LED_H 18#pragma once
19#define LED_H 19
20#include "stdint.h" 20#include "stdint.h"
21#include "stdbool.h" 21#include "stdbool.h"
22 22
@@ -52,5 +52,3 @@ void led_init_ports(void);
52#ifdef __cplusplus 52#ifdef __cplusplus
53} 53}
54#endif 54#endif
55
56#endif