1 Commits

Author SHA1 Message Date
Ilya Elenskiy
5e33234261 Disabled uart.c ISRs if GDBSTUB (debug emulator) is set 2021-04-18 14:06:28 +00:00

View File

@@ -55,6 +55,8 @@ UART_PutChar (const uint8_t c)
return ret;
}
#ifndef GDBSTUB
// Receive Interrupt Routine
ISR(USART0_RX_vect)
{
@@ -70,6 +72,8 @@ ISR(USART0_UDRE_vect)
UCSR0B &= ~(1 << UDRIE0);
}
#endif
int16_t
UART_GetChar (void)
{