]> git.zerfleddert.de Git - hmcfgusb/commitdiff
hmland: increase receive-buffer for lan-messages
authorMichael Gernoth <michael@gernoth.net>
Sun, 24 May 2015 19:29:47 +0000 (21:29 +0200)
committerMichael Gernoth <michael@gernoth.net>
Sun, 24 May 2015 19:29:47 +0000 (21:29 +0200)
hmland.c

index 6b89ece6a56d76d3f69ed8daba597ee369743517..04bb75228661c0befea2b6b58e50acd35dd1513a 100644 (file)
--- a/hmland.c
+++ b/hmland.c
@@ -401,7 +401,7 @@ static int hmlan_format_out(uint8_t *buf, int buf_len, void *data)
 static int hmlan_parse_in(int fd, void *data)
 {
        struct hmcfgusb_dev *dev = data;
 static int hmlan_parse_in(int fd, void *data)
 {
        struct hmcfgusb_dev *dev = data;
-       uint8_t buf[1025];
+       uint8_t buf[131073];
        uint8_t out[0x40]; //FIXME!!!
        uint8_t *outpos;
        uint8_t *inpos;
        uint8_t out[0x40]; //FIXME!!!
        uint8_t *outpos;
        uint8_t *inpos;
Impressum, Datenschutz