Minor comment cleanup

This commit is contained in:
Angus Gratton
2016-09-05 11:50:53 +10:00
parent 44ef108fd8
commit 587f90929c
3 changed files with 4 additions and 9 deletions

View File

@@ -144,7 +144,7 @@ typedef struct {
uint8_t ssid[32]; /**< SSID of AP */ uint8_t ssid[32]; /**< SSID of AP */
uint8_t primary; /**< channel of AP */ uint8_t primary; /**< channel of AP */
wifi_second_chan_t second; /**< second 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_auth_mode_t authmode; /**< authmode of AP */
}wifi_ap_list_t; }wifi_ap_list_t;

View File

@@ -165,13 +165,6 @@ typedef enum
} dhcp_msg_option; } 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{ enum dhcps_offer_option{
OFFER_START = 0x00, OFFER_START = 0x00,
OFFER_ROUTER = 0x01, OFFER_ROUTER = 0x01,
@@ -194,6 +187,8 @@ typedef struct _list_node{
typedef u32_t dhcps_time_t; typedef u32_t dhcps_time_t;
typedef u8_t dhcps_offer_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_lease dhcps_lease_t;
typedef struct _dhcps_options{ typedef struct _dhcps_options{

View File

@@ -32,7 +32,7 @@ struct ip_info {
ip4_addr_t gw; ip4_addr_t gw;
}; };
/* Defined in esp_misc.h */ /* Also used by dhcpserver.h */
struct dhcps_lease { struct dhcps_lease {
bool enable; bool enable;
ip4_addr_t start_ip; ip4_addr_t start_ip;