]> granicus.if.org Git - esp-idf/commitdiff
Minor comment cleanup
authorAngus Gratton <angus@espressif.com>
Mon, 5 Sep 2016 01:50:53 +0000 (11:50 +1000)
committerAngus Gratton <angus@espressif.com>
Mon, 5 Sep 2016 01:50:53 +0000 (11:50 +1000)
components/esp32/include/esp_wifi.h
components/lwip/include/lwip/apps/dhcpserver.h
components/tcpip_adapter/include/tcpip_adapter.h

index 12ac10db74782aedc726d2989f9e4badd59cce18..357788225abd96092436f67d70dc0dcd41b3a7d2 100755 (executable)
@@ -144,7 +144,7 @@ typedef struct {
     uint8_t ssid[32];                     /**< SSID of AP */
     uint8_t primary;                      /**< channel of AP */
     wifi_second_chan_t second;            /**< second channel of AP */
-    signed char rssi;                         /**< single strength of AP */
+    signed char rssi;                     /**< signal strength of AP */
     wifi_auth_mode_t authmode;            /**< authmode of AP */
 }wifi_ap_list_t;
 
index 325d947a8fba56c407f409543ec796afebdb8309..021457153372cb6ece64fca9377989dc102c7c5e 100644 (file)
@@ -165,13 +165,6 @@ typedef enum
 } dhcp_msg_option;
 
 
-/*   Defined in esp_misc.h */
-//struct dhcps_lease {
-//     bool enable;
-//     ip4_addr_t start_ip;
-//     ip4_addr_t end_ip;
-//};
-
 enum dhcps_offer_option{
        OFFER_START = 0x00,
        OFFER_ROUTER = 0x01,
@@ -194,6 +187,8 @@ typedef struct _list_node{
 
 typedef u32_t dhcps_time_t;
 typedef u8_t dhcps_offer_t;
+
+/* struct dhcps_lease defined in tcpip_adapter.h */
 typedef struct dhcps_lease dhcps_lease_t;
 
 typedef struct _dhcps_options{
index 76f10d7759f70397bf60dcaee944f76bc8f41e58..7fb7b91d5f9c139ef9433446aef714d0bb21e7b2 100644 (file)
@@ -32,7 +32,7 @@ struct ip_info {
     ip4_addr_t gw;
 };
 
-/*   Defined in esp_misc.h */
+/* Also used by dhcpserver.h  */
 struct dhcps_lease {
        bool enable;
        ip4_addr_t start_ip;