summaryrefslogtreecommitdiff
path: root/tmk_core/common
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
parent9cd3ffa5ba1187c0bc11b613078d89b503dcf419 (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 990282862b..81c664d606 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