summaryrefslogtreecommitdiff
path: root/keyboards/glenpickle/chimera_ergo/chimera_ergo.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/glenpickle/chimera_ergo/chimera_ergo.c')
-rw-r--r--keyboards/glenpickle/chimera_ergo/chimera_ergo.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/keyboards/glenpickle/chimera_ergo/chimera_ergo.c b/keyboards/glenpickle/chimera_ergo/chimera_ergo.c
new file mode 100644
index 0000000000..47653c2e4b
--- /dev/null
+++ b/keyboards/glenpickle/chimera_ergo/chimera_ergo.c
@@ -0,0 +1,16 @@
+#include "chimera_ergo.h"
+
+void led_init(void) {
+ DDRD |= (1<<1);
+ PORTD |= (1<<1);
+ DDRF |= (1<<4) | (1<<5);
+ PORTF |= (1<<4) | (1<<5);
+}
+
+
+void matrix_init_kb(void) {
+ // put your keyboard start-up code here
+ // runs once when the firmware starts up
+ matrix_init_user();
+ led_init();
+}