Fixed espnow rotz
This commit is contained in:
@@ -302,7 +302,7 @@ esp_err_t send_espnow_message(std::string_view message)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
const auto timeAfter = espchrono::millis_clock::now();
|
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;
|
return ESP_OK;
|
||||||
|
Reference in New Issue
Block a user