Suspend task

This commit is contained in:
Sandeep Mistry
2018-11-12 17:06:18 -05:00
parent 25b73d5196
commit f83faa4fd2

View File

@@ -124,6 +124,8 @@ void setupBluetooth() {
esp_bt_controller_enable(ESP_BT_MODE_BLE);
esp_bt_sleep_enable();
vTaskSuspend(NULL);
while (1) {
vTaskDelay(portMAX_DELAY);
}