diff options
author | peepeetee <43021794+peepeetee@users.noreply.github.com> | 2022-02-01 03:47:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-31 11:47:38 -0800 |
commit | 3fefaf7f6b99aafe691a9024db4780684a588e4a (patch) | |
tree | 21145f7fe6804833211c2cd60aabfdb43a44c54d /keyboards/glenpickle/chimera_ergo/chimera_ergo.c | |
parent | 6cb0e8924ba258e112174b1dac36c88d16fbc560 (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.c | 16 |
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(); +} |