Revert "[api] Match log format types for the clamped version fields"

This reverts commit c212a46757.
This commit is contained in:
J. Nick Koston
2026-08-19 20:42:08 -05:00
parent c212a46757
commit 45bde8e38d
+1 -2
View File
@@ -1758,8 +1758,7 @@ bool APIConnection::send_hello_response_(const HelloRequest &msg) {
static_cast<uint8_t>(std::min<uint32_t>(msg.api_version_minor, std::numeric_limits<uint8_t>::max())); static_cast<uint8_t>(std::min<uint32_t>(msg.api_version_minor, std::numeric_limits<uint8_t>::max()));
char peername[socket::SOCKADDR_STR_LEN]; char peername[socket::SOCKADDR_STR_LEN];
ESP_LOGV(TAG, "Hello from client: '%s' | %s | API Version %u.%u", this->helper_->get_client_name(), ESP_LOGV(TAG, "Hello from client: '%s' | %s | API Version %u.%u", this->helper_->get_client_name(),
this->helper_->get_peername_to(peername), static_cast<unsigned>(this->client_api_version_major_), this->helper_->get_peername_to(peername), this->client_api_version_major_, this->client_api_version_minor_);
static_cast<unsigned>(this->client_api_version_minor_));
HelloResponse resp; HelloResponse resp;
resp.api_version_major = 1; resp.api_version_major = 1;