Added #ifndef to account for build time definition of BIT_RATE_DEFAULT.

In keeping with the original design goal of allowing for build time macro definition I added back in the #ifndef.
This commit is contained in:
Jonathan karras 2015-10-31 16:40:13 -06:00
parent 68d4013916
commit 0e62710f30
1 changed files with 4 additions and 2 deletions

View File

@ -23,8 +23,10 @@
#define COAP_DEBUG
#define BIT_RATE_DEFAULT BIT_RATE_74880
#else
#undef BIT_RATE_DEFAULT
#define BIT_RATE_DEFAULT BIT_RATE_9600
# ifndef BIT_RATE_DEFAULT
# undef BIT_RATE_DEFAULT
# define BIT_RATE_DEFAULT BIT_RATE_9600
# endif
#endif /* DEVELOP_VERSION */