]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/helix/rev1/rev1.c
Fix chibios so the dfu-suffix is only applied once. (#6270)
[qmk_firmware.git] / keyboards / helix / rev1 / rev1.c
1 #include "helix.h"
2
3
4 #ifdef SSD1306OLED
5 #include "ssd1306.h"
6
7 bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
8         return process_record_gfx(keycode,record) && process_record_user(keycode, record);
9 }
10
11 void led_set_kb(uint8_t usb_led) {
12     // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
13     led_set_user(usb_led);
14 }
15 #endif
16
17 void matrix_init_kb(void) {
18
19     // // green led on
20     // DDRD |= (1<<5);
21     // PORTD &= ~(1<<5);
22
23     // // orange led on
24     // DDRB |= (1<<0);
25     // PORTB &= ~(1<<0);
26
27         matrix_init_user();
28 };