Got ps2avrGB to work with the V-USB protocol

This commit is contained in:
Luiz Ribeiro 2017-01-21 12:30:06 -05:00
parent 10ff962321
commit f7462aaa61
19 changed files with 886 additions and 17 deletions

View file

@ -48,8 +48,12 @@ int main(void)
uint16_t last_timer = timer_read();
#endif
#ifdef CLKPR
// avoid unintentional changes of clock frequency in devices that have a
// clock prescaler
CLKPR = 0x80, CLKPR = 0;
#ifndef PS2_USE_USART
#endif
#ifndef NO_UART
uart_init(UART_BAUD_RATE);
#endif