Skip to content

Commit

Permalink
Client: Remove usage of legacy FreeRTOS types
Browse files Browse the repository at this point in the history
  • Loading branch information
Dazza0 committed Jan 12, 2022
1 parent 026253d commit 6ef98d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mqtt_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ static void esp_mqtt_task(void *pv)
}
MQTT_API_UNLOCK(client);
xEventGroupWaitBits(client->status_bits, RECONNECT_BIT, false, true,
client->wait_timeout_ms / 2 / portTICK_RATE_MS);
client->wait_timeout_ms / 2 / portTICK_PERIOD_MS);
// continue the while loop instead of break, as the mutex is unlocked
continue;
default:
Expand Down

0 comments on commit 6ef98d6

Please sign in to comment.