Browse Source

hhkb: Fix startup of rn42 #407

- Enable build option INTERRUPT_CONTROL_ENDPOINT of LUFA
- Shorten LED blink at startup
master
tmk 7 years ago
parent
commit
0de581ee82

+ 1
- 1
keyboard/hhkb/Makefile View File

F_USB ?= $(F_CPU) F_USB ?= $(F_CPU)


# Interrupt driven control endpoint task # Interrupt driven control endpoint task
#OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT




# Boot Section Size in *bytes* # Boot Section Size in *bytes*

+ 1002
- 997
keyboard/hhkb/binary/hhkb_jp_rn42_unimap.hex
File diff suppressed because it is too large
View File


+ 905
- 900
keyboard/hhkb/binary/hhkb_jp_unimap.hex
File diff suppressed because it is too large
View File


+ 999
- 994
keyboard/hhkb/binary/hhkb_rn42_unimap.hex
File diff suppressed because it is too large
View File


+ 906
- 901
keyboard/hhkb/binary/hhkb_unimap.hex
File diff suppressed because it is too large
View File


+ 4
- 4
keyboard/hhkb/rn42/battery.c View File

void battery_init(void) void battery_init(void)
{ {
// blink // blink
battery_led(LED_ON); _delay_ms(500);
battery_led(LED_OFF); _delay_ms(500);
battery_led(LED_ON); _delay_ms(500);
battery_led(LED_OFF); _delay_ms(500);
battery_led(LED_ON); _delay_ms(100);
battery_led(LED_OFF); _delay_ms(100);
battery_led(LED_ON); _delay_ms(100);
battery_led(LED_OFF); _delay_ms(100);
// LED indicates charger status // LED indicates charger status
battery_led(LED_CHARGER); battery_led(LED_CHARGER);



Loading…
Cancel
Save