aboutsummaryrefslogtreecommitdiff
path: root/keyboards/hid_liber/hid_liber.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hid_liber/hid_liber.c')
-rwxr-xr-xkeyboards/hid_liber/hid_liber.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/keyboards/hid_liber/hid_liber.c b/keyboards/hid_liber/hid_liber.c
index 2d2130743..2e4ddb329 100755
--- a/keyboards/hid_liber/hid_liber.c
+++ b/keyboards/hid_liber/hid_liber.c
@@ -16,24 +16,3 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18#include "hid_liber.h" 18#include "hid_liber.h"
19
20void matrix_init_kb(void) {
21 // put your keyboard start-up code here
22 // runs once when the firmware starts up
23 led_init_ports();
24 matrix_init_user();
25}
26
27void led_init_ports(void) {
28 setPinOutput(B5);
29 setPinOutput(B6);
30}
31
32bool led_update_kb(led_t led_state) {
33 bool res = led_update_user(led_state);
34 if(res) {
35 writePin(B5, !led_state.caps_lock);
36 writePin(B6, !led_state.scroll_lock);
37 }
38 return res;
39}