[core] Lint: require braces around single ESP_LOG control-statement bodies (#18727)

This commit is contained in:
Bonne Eggleston
2026-09-01 11:53:39 +12:00
committed by GitHub
parent 081ef3d30d
commit afb0022dd0
38 changed files with 437 additions and 71 deletions
+2 -1
View File
@@ -162,8 +162,9 @@ void Alpha3::send_request_(uint8_t *request, size_t len) {
auto status =
esp_ble_gattc_write_char(this->parent_->get_gattc_if(), this->parent_->get_conn_id(), this->geni_handle_, len,
request, ESP_GATT_WRITE_TYPE_NO_RSP, ESP_GATT_AUTH_REQ_NONE);
if (status)
if (status) {
ESP_LOGW(TAG, "[%s] esp_ble_gattc_write_char failed, status=%d", this->parent_->address_str(), status);
}
}
void Alpha3::update() {