summaryrefslogtreecommitdiff
path: root/tmk_core/common
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-11-08 22:31:16 +0000
committerDrashna Jael're <drashna@live.com>2021-01-12 22:43:34 -0800
commita0a288159974600803080b82b85375edb340294b (patch)
tree4f12c632e784841965a14fdc9b0f375e2cf9951b /tmk_core/common
parent781cc0ed5161446ba2df6222b6c7568a4a5b2109 (diff)
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')
-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 daf974bed4..0bf87c8af5 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
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef LED_H
-#define LED_H
+#pragma once
+
#include "stdint.h"
#include "stdbool.h"
@@ -52,5 +52,3 @@ void led_init_ports(void);
#ifdef __cplusplus
}
#endif
-
-#endif