*/
esp_err_t esp_wifi_internal_set_sta_ip(void);
-/**
- * @brief The WiFi power save callback function
- *
- * @param none
- *
- * @return none
- */
-void esp_wifi_ps_idle_cb(void);
-
#ifdef __cplusplus
}
#endif
#include "soc/timer_group_struct.h"
#include "soc/timer_group_reg.h"
#include "esp_log.h"
-#include "esp_wifi_internal.h"
#include "esp_task_wdt.h"
if (xPortGetCoreID()!=0) return;
#endif
esp_task_wdt_feed();
- esp_wifi_ps_idle_cb();
}
#endif
/*
* Defines the size, in words, of the stack allocated to the idle task.
*/
-#define tskIDLE_STACK_SIZE 2048//configMINIMAL_STACK_SIZE
+#define tskIDLE_STACK_SIZE configMINIMAL_STACK_SIZE
#if( configUSE_PREEMPTION == 0 )
/* If the cooperative scheduler is being used then a yield should not be
extern "C" esp_err_t nvs_flash_init(void)
{
- return nvs_flash_init_custom(6, 3);
+ return nvs_flash_init_custom(9, 3);
}
extern "C" esp_err_t nvs_flash_init_custom(uint32_t baseSector, uint32_t sectorCount)