mirror of
https://github.com/zhaojh329/rtty.git
synced 2026-02-27 09:53:17 +08:00
fix: Remove some code that does not arrive
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
@@ -150,11 +150,6 @@ void web_request(struct rtty *rtty, int len)
|
|||||||
uint8_t addr[18];
|
uint8_t addr[18];
|
||||||
void *data;
|
void *data;
|
||||||
|
|
||||||
if (len == 0) {
|
|
||||||
web_reqs_free(&rtty->web_reqs);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
buffer_pull(&rtty->rb, addr, 18);
|
buffer_pull(&rtty->rb, addr, 18);
|
||||||
|
|
||||||
req_len = len - 18;
|
req_len = len - 18;
|
||||||
|
|||||||
Reference in New Issue
Block a user