keychron_qmk_firmware/keyboards/nyquist/rev1/rev1.c

23 lines
387 B
C
Raw Normal View History

#include "rev1.h"
2017-05-30 01:37:19 +06:00
2017-05-30 02:20:06 +06:00
#ifdef SSD1306OLED
void led_set_kb(uint8_t usb_led) {
// put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
led_set_user(usb_led);
}
#endif
2017-05-30 01:37:19 +06:00
void matrix_init_kb(void) {
// // green led on
// DDRD |= (1<<5);
// PORTD &= ~(1<<5);
// // orange led on
// DDRB |= (1<<0);
// PORTB &= ~(1<<0);
matrix_init_user();
};