mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-01 23:45:48 +03:00
Contiki: undefine COAP_MAX_BLOCK_SZX before redefine
COAP_MAX_BLOCK_SZX is defined to "2" already before a define rule for CONTIKI_TARGET_CC2538DK, just add a simply undefine line before the redefine of COAP_MAX_BLOCK_SZX to make the compiler happy.
This commit is contained in:
1 parent
f4166a536f
commit
4f1515ab09
1 file changed
+1
@@ -106,6 +106,7 @@ typedef void FILE;
|
||||
#undef COAP_MAX_PDU_SIZE
|
||||
#define COAP_MAX_PDU_SIZE 100
|
||||
|
||||
#undef COAP_MAX_BLOCK_SZX
|
||||
#define COAP_MAX_BLOCK_SZX 2
|
||||
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
Reference in new issue
Block a user