diff options
author | fauxpark <fauxpark@gmail.com> | 2019-11-06 11:42:16 +1100 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-01-09 08:57:11 +0900 |
commit | 81126b6673313dc5e40ed92cc67f85b430003894 (patch) | |
tree | 02af8c915b543f0831cb05ed1a93cb2d89b4b0ea /quantum/template | |
parent | 4c1bdea275197442525673462e00be2f16bf1360 (diff) |
New and improved lock LED callbacks (#7215)
* New and improved lock LED callbacks
* Include stdbool
* Update documentation
* Use full function signatures and add keyboard-level example
Diffstat (limited to 'quantum/template')
-rw-r--r-- | quantum/template/base/keymaps/default/keymap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/quantum/template/base/keymaps/default/keymap.c b/quantum/template/base/keymaps/default/keymap.c index 0002d91216..f1f40ca15d 100644 --- a/quantum/template/base/keymaps/default/keymap.c +++ b/quantum/template/base/keymaps/default/keymap.c @@ -63,4 +63,6 @@ void matrix_init_user(void) {} void matrix_scan_user(void) {} -void led_set_user(uint8_t usb_led) {} +bool led_update_user(led_t led_state) { + return true; +} |