aboutsummaryrefslogtreecommitdiff
path: root/keyboards/evyd13/eon95/eon95.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/evyd13/eon95/eon95.c')
-rw-r--r--keyboards/evyd13/eon95/eon95.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/keyboards/evyd13/eon95/eon95.c b/keyboards/evyd13/eon95/eon95.c
index 5eec86cc1..603d84a13 100644
--- a/keyboards/evyd13/eon95/eon95.c
+++ b/keyboards/evyd13/eon95/eon95.c
@@ -14,32 +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 "eon95.h" 16#include "eon95.h"
17
18void matrix_init_kb(void) {
19 // put your keyboard start-up code here
20 // runs once when the firmware starts up
21 matrix_init_user();
22 led_init_ports();
23}
24
25void led_init_ports(void) {
26 // * Set our LED pins as output and high
27 setPinOutput(D5);
28 writePinHigh(D5);
29
30 setPinOutput(B7);
31 writePinHigh(B7);
32
33 setPinOutput(B0);
34 writePinHigh(B0);
35}
36
37bool led_update_kb(led_t led_state) {
38 if(led_update_user(led_state)) {
39 writePin(D5, !led_state.caps_lock);
40 writePin(B7, !led_state.num_lock);
41 writePin(B0, !led_state.scroll_lock);
42 }
43
44 return true;
45}