diff --git a/sys/include/config.h b/sys/include/config.h index 8b83786cc7..c2162419a0 100644 --- a/sys/include/config.h +++ b/sys/include/config.h @@ -40,11 +40,13 @@ extern char configmem[]; * @brief Stores configuration data of the node. */ typedef struct { + /* cppcheck-suppress unusedStructMember : is used in sys/shell/commands/sc_id.c */ uint16_t id; /**< unique node identifier */ #ifdef HAS_RADIO radio_address_t radio_address; /**< address for radio communication */ uint8_t radio_channel; /**< current frequency */ #endif + /* cppcheck-suppress unusedStructMember : useful for debug purposes */ char name[CONFIG_NAME_LEN]; /**< name of the node */ } config_t; @@ -52,6 +54,7 @@ typedef struct { * @brief Element to store in flashrom. */ typedef struct { + /* cppcheck-suppress unusedStructMember : magic_key is only read directly from ROM */ uint16_t magic_key; /**< validity check */ config_t config; /**< the node's configuration */ } configmem_t;