MQTTClient select timeout cleanup (closes #123)

Also sets example task priorities to maximum 2, as higher priorities
seem to mess with the network stack.
This commit is contained in:
Angus Gratton 2016-05-28 16:21:53 +10:00
parent 0734fa4166
commit 9b21c54fc5
2 changed files with 6 additions and 8 deletions

View file

@ -216,6 +216,6 @@ void user_init(void)
vSemaphoreCreateBinary(wifi_alive);
publish_queue = xQueueCreate(3, PUB_MSG_LEN);
xTaskCreate(&wifi_task, (int8_t *)"wifi_task", 256, NULL, 2, NULL);
xTaskCreate(&beat_task, (int8_t *)"beat_task", 256, NULL, 3, NULL);
xTaskCreate(&mqtt_task, (int8_t *)"mqtt_task", 1024, NULL, 4, NULL);
xTaskCreate(&beat_task, (int8_t *)"beat_task", 256, NULL, 2, NULL);
xTaskCreate(&mqtt_task, (int8_t *)"mqtt_task", 1024, NULL, 2, NULL);
}