diff options
author | Dean Camera <[email protected]> | 2010-03-09 05:15:08 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2010-03-09 05:15:08 +0000 |
commit | ce260ae786326b9f1e476fa3e580ecf9176889c2 (patch) | |
tree | 9d61be0f91806aa41ba268a53439624ef85baa83 /Projects/Webserver/Lib/DHCPClientApp.c | |
parent | a61c7f671d7dc0f775f730d07ae764d03bdf3aba (diff) | |
download | qmk_firmware-ce260ae786326b9f1e476fa3e580ecf9176889c2.tar.gz qmk_firmware-ce260ae786326b9f1e476fa3e580ecf9176889c2.zip |
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.
Diffstat (limited to 'Projects/Webserver/Lib/DHCPClientApp.c')
-rw-r--r-- | Projects/Webserver/Lib/DHCPClientApp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Projects/Webserver/Lib/DHCPClientApp.c b/Projects/Webserver/Lib/DHCPClientApp.c index cf512734e5..01cbb7e264 100644 --- a/Projects/Webserver/Lib/DHCPClientApp.c +++ b/Projects/Webserver/Lib/DHCPClientApp.c @@ -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;
|