increase receive buffer

This commit is contained in:
Florian Klemenz 2021-02-19 10:30:09 +01:00
parent 7bb9c972f7
commit 2cd52161e6
2 changed files with 2 additions and 2 deletions

BIN
uart

Binary file not shown.

4
uart.c
View File

@ -56,8 +56,8 @@ sleep(1);
// Bytes empfangen // Bytes empfangen
if (uart0_filestream != -1) { if (uart0_filestream != -1) {
unsigned char BUF_RX[50]; unsigned char BUF_RX[1024];
int rx_length = read(uart0_filestream, (void*)BUF_RX, 50); int rx_length = read(uart0_filestream, (void*)BUF_RX, 1024);
if (rx_length < 0) { if (rx_length < 0) {
printf("[ERROR] UART RX\n"); printf("[ERROR] UART RX\n");