summaryrefslogtreecommitdiffstats
path: root/keyboards/glenpickle/chimera_ergo/chimera_ergo.c
diff options
context:
space:
mode:
authorpeepeetee <43021794+peepeetee@users.noreply.github.com>2022-02-01 03:47:38 +0800
committerGitHub <noreply@github.com>2022-01-31 11:47:38 -0800
commit3fefaf7f6b99aafe691a9024db4780684a588e4a (patch)
tree21145f7fe6804833211c2cd60aabfdb43a44c54d /keyboards/glenpickle/chimera_ergo/chimera_ergo.c
parent6cb0e8924ba258e112174b1dac36c88d16fbc560 (diff)
[Keyboard] move @GlenPickle 's chimera* boards into a folder (#16072)
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();
+}