Merge branch 'develop' into contrib/generic-leds

This commit is contained in:
Simon Duquennoy 2018-03-02 20:15:19 +01:00 committed by GitHub
commit 4bfab40a6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -32,6 +32,7 @@
#define HTTP_SOCKET_H
#include "tcp-socket.h"
#include "sys/cc.h"
struct http_socket;
@ -62,8 +63,6 @@ typedef void (* http_socket_callback_t)(struct http_socket *s,
const uint8_t *data,
uint16_t datalen);
#define MAX(n, m) (((n) < (m)) ? (m) : (n))
#define HTTP_SOCKET_INPUTBUFSIZE UIP_TCP_MSS
#define HTTP_SOCKET_OUTPUTBUFSIZE MAX(UIP_TCP_MSS, 128)