increase receive buffer
This commit is contained in:
parent
7bb9c972f7
commit
2cd52161e6
4
uart.c
4
uart.c
@ -56,8 +56,8 @@ sleep(1);
|
||||
|
||||
// Bytes empfangen
|
||||
if (uart0_filestream != -1) {
|
||||
unsigned char BUF_RX[50];
|
||||
int rx_length = read(uart0_filestream, (void*)BUF_RX, 50);
|
||||
unsigned char BUF_RX[1024];
|
||||
int rx_length = read(uart0_filestream, (void*)BUF_RX, 1024);
|
||||
|
||||
if (rx_length < 0) {
|
||||
printf("[ERROR] UART RX\n");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user