cleanup code and save memory
This commit is contained in:
parent
ecdd101586
commit
ba62fd2dd2
3 changed files with 11 additions and 34 deletions
|
@ -68,7 +68,7 @@
|
|||
/* The IP buffer size must fit all other hops, in particular the border router. */
|
||||
|
||||
#undef UIP_CONF_BUFFER_SIZE
|
||||
#define UIP_CONF_BUFFER_SIZE 256
|
||||
#define UIP_CONF_BUFFER_SIZE 192
|
||||
|
||||
|
||||
/* Multiplies with chunk size, be aware of memory constraints. */
|
||||
|
|
|
@ -61,7 +61,7 @@ void loop (void)
|
|||
|
||||
union {
|
||||
settings_key_t key;
|
||||
char bytes[0];
|
||||
char bytes[2];
|
||||
} u;
|
||||
|
||||
u.key = settings_iter_get_key(iter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue