]> granicus.if.org Git - esp-idf/commitdiff
esp_wifi: Remove WIFI_PS_MODEM constant
authorAngus Gratton <angus@espressif.com>
Wed, 21 Aug 2019 02:50:14 +0000 (12:50 +1000)
committerAngus Gratton <gus@projectgus.com>
Thu, 12 Sep 2019 23:44:07 +0000 (09:44 +1000)
Deprecated in ESP-IDF V3.1

components/esp_wifi/include/esp_wifi_types.h

index 4dae5dc6c8d65f0c9c16174c52f561ea97b54460..0edd4d9840f4b58a1dce0434c076d1186dd2c6fa 100644 (file)
@@ -191,8 +191,6 @@ typedef enum {
     WIFI_PS_MAX_MODEM,   /**< Maximum modem power saving. In this mode, interval to receive beacons is determined by the listen_interval parameter in wifi_sta_config_t */
 } wifi_ps_type_t;
 
-#define WIFI_PS_MODEM WIFI_PS_MIN_MODEM /**< @deprecated Use WIFI_PS_MIN_MODEM or WIFI_PS_MAX_MODEM instead */
-
 #define WIFI_PROTOCOL_11B         1
 #define WIFI_PROTOCOL_11G         2
 #define WIFI_PROTOCOL_11N         4