1
0

hhkb: Fix startup of rn42 #407

- Enable build option INTERRUPT_CONTROL_ENDPOINT of LUFA
- Shorten LED blink at startup
This commit is contained in:
tmk 2017-01-25 14:24:26 +09:00
parent cefaa07bb7
commit 0de581ee82
6 changed files with 3817 additions and 3797 deletions

View File

@ -96,7 +96,7 @@ ARCH ?= AVR8
F_USB ?= $(F_CPU)
# Interrupt driven control endpoint task
#OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
# Boot Section Size in *bytes*

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -9,10 +9,10 @@
void battery_init(void)
{
// 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
battery_led(LED_CHARGER);