mirror of
https://github.com/esphome/esphome.git
synced 2026-02-08 00:31:58 +00:00
[vl53l0x] Combine log statements to reduce loop blocking (#12929)
This commit is contained in:
@@ -27,8 +27,10 @@ void VL53L0XSensor::dump_config() {
|
||||
if (this->enable_pin_ != nullptr) {
|
||||
LOG_PIN(" Enable Pin: ", this->enable_pin_);
|
||||
}
|
||||
ESP_LOGCONFIG(TAG, " Timeout: %u%s", this->timeout_us_, this->timeout_us_ > 0 ? "us" : " (no timeout)");
|
||||
ESP_LOGCONFIG(TAG, " Timing Budget %uus ", this->measurement_timing_budget_us_);
|
||||
ESP_LOGCONFIG(TAG,
|
||||
" Timeout: %u%s\n"
|
||||
" Timing Budget %uus ",
|
||||
this->timeout_us_, this->timeout_us_ > 0 ? "us" : " (no timeout)", this->measurement_timing_budget_us_);
|
||||
}
|
||||
|
||||
void VL53L0XSensor::setup() {
|
||||
|
||||
Reference in New Issue
Block a user