Browse Source

sys: config: remove saving of obsolete transceiver config

dev/timer
Kaspar Schleiser 8 years ago
parent
commit
544cf33b17
  1. 5
      sys/config/config.c
  2. 8
      sys/include/config.h

5
sys/config/config.c

@ -20,10 +20,5 @@
config_t sysconfig = {
0, /**< default ID */
#ifdef FEATURE_TRANSCEIVER
0, /**< default radio address */
0, /**< default radio channel */
1, /**< default radio PAN id */
#endif
"foobar", /**< default name */
};

8
sys/include/config.h

@ -20,9 +20,6 @@
#define CONFIG_H
#include <stdint.h>
#ifdef FEATURE_TRANSCEIVER
#include "radio/types.h"
#endif
#ifdef __cplusplus
extern "C" {
@ -41,11 +38,6 @@ extern char configmem[];
*/
typedef struct {
uint16_t id; /**< unique node identifier */
#ifdef FEATURE_TRANSCEIVER
radio_address_t radio_address; /**< address for radio communication */
uint8_t radio_channel; /**< current frequency */
uint16_t radio_pan_id; /**< PAN id for radio communication */
#endif
char name[CONFIG_NAME_LEN]; /**< name of the node */
} config_t;

Loading…
Cancel
Save