Skip to content

Commit

Permalink
Contiki: undefine COAP_MAX_BLOCK_SZX before redefine
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tijuca authored and obgm committed Jan 10, 2016
1 parent f4166a5 commit 4f1515a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coap_config.h.contiki
Expand Up @@ -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
Expand Down

0 comments on commit 4f1515a

Please sign in to comment.