aboutsummaryrefslogtreecommitdiff
path: root/keyboards/cospad/cospad.c
diff options
context:
space:
mode:
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 c1f3a7047..e7772f290 100644
--- a/keyboards/cospad/cospad.c
+++ b/keyboards/cospad/cospad.c
@@ -14,19 +14,3 @@
14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 15 */
16#include "cospad.h" 16#include "cospad.h"
17
18void keyboard_pre_init_kb(void) {
19 led_init_ports();
20 keyboard_pre_init_user();
21}
22
23void led_init_ports(void) {
24 setPinOutput(B2);
25}
26
27bool led_update_kb(led_t led_state) {
28 if (led_update_user(led_state)) {
29 writePin(B2, !led_state.num_lock);
30 }
31 return true;
32}