Skip to content

Commit 5f20b06

Browse files
authored
Update UART0.cpp
1 parent 1df0fcb commit 5f20b06

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cores/arduino/UART0.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
#include "UART.h"
44

55
#if SERIAL_HOWMANY > 0
6-
volatile USART_t HWSERIAL_struct;
6+
USART_t HWSERIAL_struct;
77

88

9-
volatile uint8_t PIN_WIRE_HWSERIAL0_RX=2;
10-
volatile uint8_t PIN_WIRE_HWSERIAL0_TX =3;
11-
volatile uint8_t HWSERIAL0_DRE_VECTOR_NUM=4;
12-
volatile uint8_t HWSERIAL0_MUX=5;
9+
uint8_t PIN_WIRE_HWSERIAL0_RX=2;
10+
uint8_t PIN_WIRE_HWSERIAL0_TX =3;
11+
uint8_t HWSERIAL0_DRE_VECTOR_NUM=4;
12+
uint8_t HWSERIAL0_MUX=5;
1313
UartClass _UART0_(& HWSERIAL_struct,PIN_WIRE_HWSERIAL0_RX , PIN_WIRE_HWSERIAL0_TX, HWSERIAL0_DRE_VECTOR_NUM, HWSERIAL0_MUX);
1414
//UartClass Serial;
1515

1616
//UartClass(volatile USART_t *hwserial_module, uint8_t hwserial_rx_pin, uint8_t hwserial_tx_pin, uint8_t dre_vect_num, uint8_t uart_mux);
1717

18-
#endif
18+
#endif

0 commit comments

Comments
 (0)