mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Switched to lowercase file name and do consistently "first-log then operate".
This commit is contained in:
parent
0df5958e16
commit
9c5f62d361
@ -30,7 +30,7 @@
|
||||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: contiki-main.c,v 1.8 2007/11/25 15:16:00 oliverschmidt Exp $
|
||||
* $Id: contiki-main.c,v 1.9 2007/11/25 22:21:19 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
@ -73,11 +73,11 @@ main(void)
|
||||
|
||||
#if 1
|
||||
{
|
||||
static struct ethernet_config config = {0xC0B0, "CS8900A.ETH"};
|
||||
static struct ethernet_config config = {0xC0B0, "cs8900a.eth"};
|
||||
uip_ipaddr_t addr;
|
||||
|
||||
process_start((struct process *)ðernet_process, (char *)&config);
|
||||
printf("Eth. Driver: %s at $%X\n", config.name, config.addr);
|
||||
process_start((struct process *)ðernet_process, (char *)&config);
|
||||
|
||||
uip_ipaddr(&addr, 192,168,0,128);
|
||||
printf("IP Address: %d.%d.%d.%d\n", uip_ipaddr_to_quad(&addr));
|
||||
|
Loading…
Reference in New Issue
Block a user