cleanup code and save memory

This commit is contained in:
Harald Pichler 2017-09-20 06:22:07 +02:00
parent ecdd101586
commit ba62fd2dd2
3 changed files with 11 additions and 34 deletions

View file

@ -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. */

View file

@ -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);