added function to enable power saving mode for es_wifi driver (Inventek Systems ISM43362-M3G-L44 )

Fork of DISCO_L475VG_IOT01A_wifi by ST

Revision:
2:9bbbcd0eff1c
Parent:
1:b37920c1ddb9
--- a/es_wifi.c	Tue Dec 19 19:29:15 2017 +0000
+++ b/es_wifi.c	Sat Jan 13 23:37:46 2018 +0000
@@ -851,7 +851,7 @@
   * @retval Operation Status.
   */
 
-ES_WIFI_Status_t  ES_WIFI_SetPowerSaveMode(ES_WIFIObject_t *Obj, uint8_t beacon_int, uint16_t sleep_ms)
+ES_WIFI_Status_t  ES_WIFI_SetPowerSaveMode(ES_WIFIObject_t *Obj, uint8_t beacon_int, uint32_t sleep_ms)
 {
     ES_WIFI_Status_t ret;
     sprintf((char*)Obj->CmdData,"ZP=2,%d\r", beacon_int);