Webserver project now uses the board LEDs to indicate the current IP configuration state.

Don't double-read data from the attached disk in the incomplete StandaloneProgrammer project when in host mode.
This commit is contained in:
Dean Camera 2010-03-09 05:15:08 +00:00
parent a61c7f671d
commit ce260ae786
9 changed files with 28 additions and 18 deletions

View file

@ -156,7 +156,10 @@ void DHCPClientApp_Callback(void)
uip_setnetmask((uip_ipaddr_t*)&AppState->DHCPClient.DHCPOffer_Data.Netmask);
uip_setdraddr((uip_ipaddr_t*)&AppState->DHCPClient.DHCPOffer_Data.GatewayIP);
AppState->DHCPClient.CurrentState = DHCP_STATE_AddressLeased;
/* Indicate to the user that we now have a valid IP configuration */
HaveIPConfiguration = true;
AppState->DHCPClient.CurrentState = DHCP_STATE_AddressLeased;
}
break;