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:
Carsten Schoenert authored and Olaf Bergmann committed 2016-01-10 17:49:07 +01:00
1 parent f4166a536f
commit 4f1515ab09
1 file changed
+1
+1
View File
@@ -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