summaryrefslogtreecommitdiff
path: root/keyboards/glenpickle/chimera_ergo/chimera_ergo.c
diff options
context:
space:
mode:
authorzvecr <git@zvecr.com>2022-02-25 23:45:40 +0000
committerzvecr <git@zvecr.com>2022-02-25 23:45:40 +0000
commite7931289918221081cbe2a7ea5df27a5d86324db (patch)
tree0b06145520f8aaf5ff5cb928aa5176fc2dd23619 /keyboards/glenpickle/chimera_ergo/chimera_ergo.c
parentc0ee3d2c79388187883b1b1b1d1a0b6842acf741 (diff)
parentcf31355f08dca311a013168eb3eb995e2fc6a3d1 (diff)
Merge remote-tracking branch 'origin/develop'
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();
+}