Fixed espnow rotz

This commit is contained in:
2022-01-29 21:43:18 +01:00
parent 6a1dfc3b91
commit e187f2fa77

View File

@ -302,7 +302,7 @@ esp_err_t send_espnow_message(std::string_view message)
else
{
const auto timeAfter = espchrono::millis_clock::now();
ESP_LOGI(TAG, "Successfully executed esp_now_send(): Took %lldms", std::chrono::milliseconds{timeAfter-timeBefore}.count());
ESP_LOGI(TAG, "Successfully executed esp_now_send(): Took %lldms", std::chrono::floor<std::chrono::milliseconds>(timeAfter-timeBefore).count());
}
}
return ESP_OK;