Increase heap to 288 on SNTP test; warnings on robustness

This commit is contained in:
Jeff Kletsky 2018-02-27 19:59:40 -08:00
parent bb58626f47
commit 6bd61ae298
2 changed files with 18 additions and 5 deletions

View file

@ -129,7 +129,8 @@ user_init(void)
* Run at a high enough priority so that the initial time-set doesn't get interrupted
* Later calls and listen-only mode calls run in the high-priority "tcpip_thread" (LWIP)
*
* 256 heap seems sufficient, 196 didn't bomb, but not examined in detail
* While 196 heap seemed sufficient for many tests, use of an NTP pool
* with DNS caused heap errors/warnings on starting NTP at 256 heap
*/
xTaskCreate(sntp_task, "SNTP task", 256, NULL, 6, NULL);
xTaskCreate(sntp_task, "SNTP task", 288, NULL, 6, NULL);
}