1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-11 15:52:20 +01:00

Reduce ESP_LOGCONFIG calls (#9026)

This commit is contained in:
J. Nick Koston
2025-06-08 19:02:30 -05:00
committed by GitHub
parent 80dddb4cae
commit c0b05ada1a
218 changed files with 1569 additions and 931 deletions

View File

@@ -381,9 +381,11 @@ void USBClient::transfer_out(uint8_t ep_address, const transfer_cb_t &callback,
}
}
void USBClient::dump_config() {
ESP_LOGCONFIG(TAG, "USBClient");
ESP_LOGCONFIG(TAG, " Vendor id %04X", this->vid_);
ESP_LOGCONFIG(TAG, " Product id %04X", this->pid_);
ESP_LOGCONFIG(TAG,
"USBClient\n"
" Vendor id %04X\n"
" Product id %04X",
this->vid_, this->pid_);
}
void USBClient::release_trq(TransferRequest *trq) { this->trq_pool_.push_back(trq); }