Add logo, cleanup init screen

This commit is contained in:
Tobias Mädel 2021-05-23 01:18:38 +02:00
parent 17c3ce06d7
commit ed3ab8354d
No known key found for this signature in database
GPG Key ID: 494E2F56C30460E1
3 changed files with 9 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -167,7 +167,8 @@ char printfbuffer[100];
int main(void)
{
fxip_log("fxIP, build date:");
fxip_log(__TIMESTAMP__);
fxip_log(&__TIMESTAMP__[4]);
fxip_log("manawyrm & TobleMiner");
/*int mockcounter = 0;
@ -198,7 +199,7 @@ int main(void)
//httpd_init();
hello_world_init();
fxip_log("hello_world_init() done");
fxip_log("app_init() done");
while (true)
{
@ -215,7 +216,7 @@ int main(void)
gint_world_switch(GINT_CALL(casioos_slip_poll));
if(uip_len > 0)
{
fxip_log("received packet!");
//fxip_log("received packet!");
//uip_arp_ipin();
uip_input();
/* If the above function invocation resulted in data that
@ -224,7 +225,7 @@ int main(void)
if(uip_len > 0)
{
//uip_arp_out();
fxip_log("sending response");
//fxip_log("sending response");
gint_world_switch(GINT_CALL(casioos_slip_send));
}
@ -255,6 +256,7 @@ int main(void)
}
}
ticks++;
gint_world_switch(GINT_CALL(casioos_sleep, 0));
}
getkey();

View File

@ -926,22 +926,21 @@ uip_process(u8_t flag)
/* Check if the packet is destined for our IP address. */
#if !UIP_CONF_IPV6
if(!uip_ipaddr_cmp(BUF->destipaddr, uip_hostaddr)) {
UIP_LOG("not our packet, dropped!");
/*UIP_LOG("not our packet, dropped!");
#define destipbuf ((uint8_t*)BUF->destipaddr)
/*#define destipbuf ((uint8_t*)BUF->destipaddr)
#define hostadbuf ((uint8_t*)uip_hostaddr)
snprintf(printfbuffer, sizeof(printfbuffer), "d: %d.%d.%d.%d", destipbuf[0], destipbuf[1], destipbuf[2], destipbuf[3]);
UIP_LOG(printfbuffer);
snprintf(printfbuffer, sizeof(printfbuffer), "h: %d.%d.%d.%d", hostadbuf[0], hostadbuf[1], hostadbuf[2], hostadbuf[3]);
UIP_LOG(printfbuffer);
UIP_LOG(printfbuffer);*/
UIP_STAT(++uip_stat.ip.drop);
goto drop;
}
UIP_LOG("packet for us :)");
#else /* UIP_CONF_IPV6 */
/* For IPv6, packet reception is a little trickier as we need to