mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-15 08:25:01 +00:00
23 lines
387 B
C
23 lines
387 B
C
|
#include "rev1.h"
|
||
|
|
||
|
#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
|
||
|
|
||
|
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();
|
||
|
};
|
||
|
|