diff --git a/SPrint/staticPrint.h b/SPrint/staticPrint.h index ec7fd0a..4b40516 100644 --- a/SPrint/staticPrint.h +++ b/SPrint/staticPrint.h @@ -29,12 +29,12 @@ static inline void SPrint_P(const char *data) while (!(UCSRA & (1 << UDRE))) ; - UDR = c; + UDR = ch; #else while (!(UCSR0A & (1 << UDRE0))) ; - UDR0 = c; + UDR0 = ch; #endif } }