Normalize spacing in ESP32 firmware
This commit is contained in:
@@ -97,13 +97,11 @@ void mqttTask(void *pvParameters) {
|
||||
EventBits_t bits = xEventGroupGetBits(connectivity_event_group);
|
||||
|
||||
if((bits &(WIFI_CONNECTED_BIT | MQTT_CONNECTED_BIT)) ==(WIFI_CONNECTED_BIT | MQTT_CONNECTED_BIT)) {
|
||||
|
||||
ESP_LOGV(TAG, "Connection established");
|
||||
|
||||
uint32_t task_notification = ulTaskNotifyTake(pdTRUE, pdMS_TO_TICKS(MQTT_TASK_TIMEOUT_MS));
|
||||
|
||||
if(task_notification) {} //{twi_do(global_rx_buffer)}
|
||||
|
||||
} else {
|
||||
ESP_LOGW(TAG, "Waiting for connection...");
|
||||
vTaskDelay(pdMS_TO_TICKS(MQTT_TASK_TIMEOUT_MS/2));
|
||||
|
||||
Reference in New Issue
Block a user