summaryrefslogtreecommitdiff
path: root/keyboards/cospad/cospad.c
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 /keyboards/cospad/cospad.c
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 'keyboards/cospad/cospad.c')
-rw-r--r--keyboards/cospad/cospad.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/keyboards/cospad/cospad.c b/keyboards/cospad/cospad.c
index c1f3a70479..e7772f2908 100644
--- a/keyboards/cospad/cospad.c
+++ b/keyboards/cospad/cospad.c
@@ -14,19 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "cospad.h"
-
-void keyboard_pre_init_kb(void) {
- led_init_ports();
- keyboard_pre_init_user();
-}
-
-void led_init_ports(void) {
- setPinOutput(B2);
-}
-
-bool led_update_kb(led_t led_state) {
- if (led_update_user(led_state)) {
- writePin(B2, !led_state.num_lock);
- }
- return true;
-}