disable receiver

This commit is contained in:
hugo LAMY
2025-03-07 07:47:28 +01:00
parent 9e9dcae5e3
commit e080531ac6

View File

@@ -96,7 +96,7 @@ void uart_init() {
UCSR0C = ASYNCHRONOUS | PARITY_DISABLED | STOP_ONE_BIT | DATA_EIGHT_BIT; // 20.11.4 : set Frame Format UCSR0C = ASYNCHRONOUS | PARITY_DISABLED | STOP_ONE_BIT | DATA_EIGHT_BIT; // 20.11.4 : set Frame Format
UCSR0B = RECEIVER_ENABLED | TRANSMITTER_ENABLED; // 20.11.3 : enable Receiver and Transmitter UCSR0B = RECEIVER_DISABLED | TRANSMITTER_ENABLED; // 20.11.3 : enable Receiver and/or Transmitter
} }
void uart_tx(char c) { void uart_tx(char c) {