Decided to not use defines everywhere, instead making user accessable functions for runtime use.

This commit is contained in:
Jake Goodwin 2023-01-16 20:10:53 -08:00
parent b2992459b3
commit f4aef61b0e
2 changed files with 2 additions and 8 deletions

View File

@ -70,6 +70,8 @@ void init_usart0(void) {
#else
UCSR0A &= ~(1<<U2X0);
#endif
//setting the data frame format

View File

@ -39,14 +39,6 @@
//#############################
#define USE_U2X 0
#define STOP_BITS 2
#define DATA_BITS 8
#define CLOCK_POL 0
#define PARITY_BITS 0
#define PARITY_POS 0
#define CARRIAGE_RETURN 0
#define LINE_FEED 0
//#############################