mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-12 10:30:09 +00:00
Adjusted to recent cc65 compiler improvements.
This commit is contained in:
parent
044f964a1e
commit
50ecd3fccb
@ -42,21 +42,7 @@
|
|||||||
|
|
||||||
#include "lib/config.h"
|
#include "lib/config.h"
|
||||||
|
|
||||||
struct {
|
struct config_t config;
|
||||||
uip_ipaddr_t hostaddr;
|
|
||||||
uip_ipaddr_t netmask;
|
|
||||||
uip_ipaddr_t draddr;
|
|
||||||
uip_ipaddr_t resolvaddr;
|
|
||||||
union {
|
|
||||||
struct {
|
|
||||||
uint16_t param;
|
|
||||||
#ifndef STATIC_DRIVER
|
|
||||||
char name[12+1];
|
|
||||||
#endif /* !STATIC_DRIVER */
|
|
||||||
} ethernet;
|
|
||||||
uint8_t slip[5];
|
|
||||||
};
|
|
||||||
} config;
|
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
#if LOG_CONF_ENABLED
|
#if LOG_CONF_ENABLED
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#ifndef CONFIG_H_
|
#ifndef CONFIG_H_
|
||||||
#define CONFIG_H_
|
#define CONFIG_H_
|
||||||
|
|
||||||
extern struct {
|
extern struct config_t {
|
||||||
uip_ipaddr_t hostaddr;
|
uip_ipaddr_t hostaddr;
|
||||||
uip_ipaddr_t netmask;
|
uip_ipaddr_t netmask;
|
||||||
uip_ipaddr_t draddr;
|
uip_ipaddr_t draddr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user