Skip to content

Commit 79a1e99

Browse files
committed
pins_arduino.h: Update for XMC4700_Relax_Kit.
Signed-off-by: zhanglinjing <Linjing.Zhang@infineon.com>
1 parent 5fdc74a commit 79a1e99

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

variants/XMC4700/config/XMC4700_Relax_Kit/pins_arduino.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,7 @@ const uint8_t NUM_DIGITAL = (sizeof(mapping_port_pin) / sizeof(XMC_PORT_PIN_t));
401401
* Serial 1 is on-board port
402402
*/
403403
arduino::RingBuffer rx_buffer_0;
404-
arduino::RingBuffer tx_buffer_0;
405404
arduino::RingBuffer rx_buffer_1;
406-
arduino::RingBuffer tx_buffer_1;
407405

408406
XMC_UART_t XMC_UART_0 = {
409407
.channel = XMC_UART0_CH0,
@@ -440,9 +438,9 @@ XMC_UART_t XMC_UART_1 = {
440438
.irq_service_request = 0};
441439

442440
// Debug port
443-
Uart Serial(&XMC_UART_0, &rx_buffer_0, &tx_buffer_0);
441+
Uart Serial(&XMC_UART_0, &rx_buffer_0);
444442
// On-board port
445-
Uart Serial1(&XMC_UART_1, &rx_buffer_1, &tx_buffer_1);
443+
Uart Serial1(&XMC_UART_1, &rx_buffer_1);
446444

447445
// // Three SPI instances possible
448446
// XMC_SPI_t XMC_SPI_0 = {

0 commit comments

Comments
 (0)