Adjusted to recent cc65 compiler improvements.

This commit is contained in:
Oliver Schmidt 2021-11-29 21:55:45 +01:00
parent 044f964a1e
commit 50ecd3fccb
2 changed files with 2 additions and 16 deletions

View File

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

View File

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