Decided to not use defines everywhere, instead making user accessable functions for runtime use.
This commit is contained in:
parent
b2992459b3
commit
f4aef61b0e
|
@ -70,6 +70,8 @@ void init_usart0(void) {
|
|||
#else
|
||||
UCSR0A &= ~(1<<U2X0);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
//setting the data frame format
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
//#############################
|
||||
|
|
Loading…
Reference in New Issue