mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 03:30:01 +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"
|
||||
|
||||
struct {
|
||||
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;
|
||||
struct config_t config;
|
||||
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
#if LOG_CONF_ENABLED
|
||||
|
@ -35,7 +35,7 @@
|
||||
#ifndef CONFIG_H_
|
||||
#define CONFIG_H_
|
||||
|
||||
extern struct {
|
||||
extern struct config_t {
|
||||
uip_ipaddr_t hostaddr;
|
||||
uip_ipaddr_t netmask;
|
||||
uip_ipaddr_t draddr;
|
||||
|
Loading…
Reference in New Issue
Block a user