Skip to content
Snippets Groups Projects
Commit 156ce08b authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Fixed off-by-one buffer size treated as maximum size.

Resulted in corrupted packets in some occassions.

fixes #1535
parent 6bf6c220
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@
#include "common/WELL1024a.h"
/* Constants */
#define XFR_BUFFER_SIZE 65536
#define XFR_BUFFER_SIZE 65535 /*! Do not change this - maximum value for UDP packet length. */
void xfr_interrupt(xfrhandler_t *h)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment