diff --git a/assets-fx/icon.png b/assets-fx/icon.png index c92f12a..298ac32 100644 Binary files a/assets-fx/icon.png and b/assets-fx/icon.png differ diff --git a/src/main.c b/src/main.c index ec828c5..1a4e481 100644 --- a/src/main.c +++ b/src/main.c @@ -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(); diff --git a/src/uip/uip.c b/src/uip/uip.c index e548228..2a8c2e4 100644 --- a/src/uip/uip.c +++ b/src/uip/uip.c @@ -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