mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-29 16:29:17 +02:00
dont find 0xff
This commit is contained in:
@@ -49,7 +49,6 @@ void poll_udp_server() {
|
||||
for (ssize_t i = 0; i < bytes_read; i++) {
|
||||
if (buf[i] == '\n' || (unsigned char)buf[i] == 0xFF) {
|
||||
size_t len = i - start;
|
||||
if((unsigned char)buf[i] == 0xFF) len += 1;
|
||||
|
||||
if (len > 0 && len < BUF_SIZE) {
|
||||
memset(cmd_buf, 0, BUF_SIZE);
|
||||
|
||||
Reference in New Issue
Block a user