diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-05 13:55:56 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-06-05 13:55:56 +0000 |
commit | 7dffa15c1670806cc053b9930f341b53e30f7384 (patch) | |
tree | b06af7dc2e6e2cf9f5bf20cb848cff5ee3f527c8 /Projects/Webserver | |
parent | 0210fa5648b1ed65caa384f966ac40b4ecc489ae (diff) | |
download | lufa-7dffa15c1670806cc053b9930f341b53e30f7384.tar.gz lufa-7dffa15c1670806cc053b9930f341b53e30f7384.tar.bz2 lufa-7dffa15c1670806cc053b9930f341b53e30f7384.zip |
Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru.
Diffstat (limited to 'Projects/Webserver')
-rw-r--r-- | Projects/Webserver/Lib/DHCPServerApp.c | 1 | ||||
-rw-r--r-- | Projects/Webserver/Lib/DataflashManager.c | 4 | ||||
-rw-r--r-- | Projects/Webserver/Lib/HTTPServerApp.c | 2 | ||||
-rw-r--r-- | Projects/Webserver/Lib/TELNETServerApp.c | 2 | ||||
-rw-r--r-- | Projects/Webserver/Lib/uip/timer.c | 2 | ||||
-rw-r--r-- | Projects/Webserver/Lib/uip/uip.h | 2 | ||||
-rw-r--r-- | Projects/Webserver/Lib/uip/uipopt.h | 6 |
7 files changed, 10 insertions, 9 deletions
diff --git a/Projects/Webserver/Lib/DHCPServerApp.c b/Projects/Webserver/Lib/DHCPServerApp.c index 7a36066cb..4399e9a7b 100644 --- a/Projects/Webserver/Lib/DHCPServerApp.c +++ b/Projects/Webserver/Lib/DHCPServerApp.c @@ -154,6 +154,7 @@ void DHCPServerApp_Callback(void) * \param[out] DHCPHeader Location in the packet buffer where the BOOTP header should be written to
* \param[in] DHCPMessageType DHCP Message type, such as DHCP_DISCOVER
* \param[in] ClientHardwareAddress Client MAC address the created transaction should be directed to
+ * \param[in] PreferredClientIP Preferred IP that should be given to the client if it is unallocated
* \param[in] TransactionID Transaction ID the created transaction should be associated with
*
* \return Size in bytes of the created DHCP packet
diff --git a/Projects/Webserver/Lib/DataflashManager.c b/Projects/Webserver/Lib/DataflashManager.c index 2ebbd9993..efd70012c 100644 --- a/Projects/Webserver/Lib/DataflashManager.c +++ b/Projects/Webserver/Lib/DataflashManager.c @@ -157,7 +157,7 @@ void DataflashManager_WriteBlocks(USB_ClassInfo_MS_Device_t* const MSInterfaceIn return; } - /* Decrement the blocks remaining counter and reset the sub block counter */ + /* Decrement the blocks remaining counter */ TotalBlocks--; } @@ -371,7 +371,7 @@ void DataflashManager_WriteBlocks_RAM(const uint32_t BlockAddress, BytesInBlockDiv16++; } - /* Decrement the blocks remaining counter and reset the sub block counter */ + /* Decrement the blocks remaining counter */ TotalBlocks--; } diff --git a/Projects/Webserver/Lib/HTTPServerApp.c b/Projects/Webserver/Lib/HTTPServerApp.c index 6822b270d..d7585fe90 100644 --- a/Projects/Webserver/Lib/HTTPServerApp.c +++ b/Projects/Webserver/Lib/HTTPServerApp.c @@ -47,7 +47,7 @@ const char PROGMEM HTTP200Header[] = "HTTP/1.1 200 OK\r\n" "Content-Type: "; /** HTTP server response header, for transmission before a resource not found error. This indicates to the host that the given - * given URL is invalid, and gives extra error information. + * URL is invalid, and gives extra error information. */ const char PROGMEM HTTP404Header[] = "HTTP/1.1 404 Not Found\r\n" "Server: LUFA " LUFA_VERSION_STRING "\r\n" diff --git a/Projects/Webserver/Lib/TELNETServerApp.c b/Projects/Webserver/Lib/TELNETServerApp.c index e6eba5364..0720a479e 100644 --- a/Projects/Webserver/Lib/TELNETServerApp.c +++ b/Projects/Webserver/Lib/TELNETServerApp.c @@ -54,7 +54,7 @@ const char PROGMEM TELNETMenu[] = "\r\n" /** Header to print before the current connections are printed to the client */ const char PROGMEM CurrentConnectionsHeader[] = "\r\n* Current TCP Connections: *\r\n"; -/** Initialization function for the simple HTTP webserver. */ +/** Initialization function for the simple TELNET webserver. */ void TELNETServerApp_Init(void) { /* Listen on port 23 for TELNET connections from hosts */ diff --git a/Projects/Webserver/Lib/uip/timer.c b/Projects/Webserver/Lib/uip/timer.c index 0e5e59147..eae06f43b 100644 --- a/Projects/Webserver/Lib/uip/timer.c +++ b/Projects/Webserver/Lib/uip/timer.c @@ -74,7 +74,7 @@ timer_set(struct timer *t, clock_time_t interval) * given to the timer_set() function. The start point of the interval * is the exact time that the timer last expired. Therefore, this * function will cause the timer to be stable over time, unlike the - * timer_rester() function. + * timer_restart() function. * * \param t A pointer to the timer. * diff --git a/Projects/Webserver/Lib/uip/uip.h b/Projects/Webserver/Lib/uip/uip.h index 10f20de6b..7b87a2c77 100644 --- a/Projects/Webserver/Lib/uip/uip.h +++ b/Projects/Webserver/Lib/uip/uip.h @@ -933,7 +933,7 @@ struct uip_udp_conn *uip_udp_new(const uip_ipaddr_t *ripaddr, u16_t rport); } while(0) /** - * Construct an IPv6 address from eight 8-bit words. + * Construct an IPv6 address from sixteen 8-bit words. * * This function constructs an IPv6 address. * diff --git a/Projects/Webserver/Lib/uip/uipopt.h b/Projects/Webserver/Lib/uip/uipopt.h index b61a7b4a8..17f703312 100644 --- a/Projects/Webserver/Lib/uip/uipopt.h +++ b/Projects/Webserver/Lib/uip/uipopt.h @@ -282,15 +282,15 @@ */ /** - * Toggles whether UDP support should be compiled in or not. + * Toggles whether TCP support should be compiled in or not. * * \hideinitializer */ #ifdef UIP_CONF_TCP #define UIP_TCP UIP_CONF_TCP -#else /* UIP_CONF_UDP */ +#else /* UIP_CONF_TCP */ #define UIP_TCP 1 -#endif /* UIP_CONF_UDP */ +#endif /* UIP_CONF_TCP */ /** * Determines if support for opening connections from uIP should be |