mirror of
https://github.com/esphome/esphome.git
synced 2025-07-30 15:16:37 +00:00
preen
This commit is contained in:
parent
1a1382de43
commit
0121dfc514
@ -84,8 +84,6 @@ void APDS9306::setup() {
|
||||
|
||||
// Set to active mode
|
||||
APDS9306_WRITE_BYTE(APDS9306_MAIN_CTRL, 0x02);
|
||||
|
||||
ESP_LOGCONFIG(TAG, "APDS9306 setup complete");
|
||||
}
|
||||
|
||||
void APDS9306::dump_config() {
|
||||
|
@ -35,7 +35,6 @@ void AXS15231Touchscreen::setup() {
|
||||
if (this->y_raw_max_ == 0) {
|
||||
this->y_raw_max_ = this->display_->get_native_height();
|
||||
}
|
||||
ESP_LOGCONFIG(TAG, "AXS15231 Touchscreen setup complete");
|
||||
}
|
||||
|
||||
void AXS15231Touchscreen::update_touches() {
|
||||
|
@ -14,8 +14,6 @@ void CHSC6XTouchscreen::setup() {
|
||||
if (this->y_raw_max_ == this->y_raw_min_) {
|
||||
this->y_raw_max_ = this->display_->get_native_height();
|
||||
}
|
||||
|
||||
ESP_LOGCONFIG(TAG, "CHSC6X Touchscreen setup complete");
|
||||
}
|
||||
|
||||
void CHSC6XTouchscreen::update_touches() {
|
||||
|
@ -94,7 +94,6 @@ void CST226Touchscreen::continue_setup_() {
|
||||
}
|
||||
}
|
||||
this->setup_complete_ = true;
|
||||
ESP_LOGCONFIG(TAG, "CST226 Touchscreen setup complete");
|
||||
}
|
||||
void CST226Touchscreen::update_button_state_(bool state) {
|
||||
if (this->button_touched_ == state)
|
||||
|
@ -35,7 +35,6 @@ void CST816Touchscreen::continue_setup_() {
|
||||
if (this->y_raw_max_ == this->y_raw_min_) {
|
||||
this->y_raw_max_ = this->display_->get_native_height();
|
||||
}
|
||||
ESP_LOGCONFIG(TAG, "CST816 Touchscreen setup complete");
|
||||
}
|
||||
|
||||
void CST816Touchscreen::setup() {
|
||||
|
@ -49,7 +49,6 @@ void FT5x06Touchscreen::continue_setup_() {
|
||||
this->y_raw_max_ = this->display_->get_native_height();
|
||||
}
|
||||
}
|
||||
ESP_LOGCONFIG(TAG, "FT5x06 Touchscreen setup complete");
|
||||
}
|
||||
|
||||
void FT5x06Touchscreen::update_touches() {
|
||||
|
@ -82,8 +82,6 @@ void GT911Touchscreen::setup() {
|
||||
if (err != i2c::ERROR_OK) {
|
||||
this->mark_failed("Failed to communicate");
|
||||
}
|
||||
|
||||
ESP_LOGCONFIG(TAG, "GT911 Touchscreen setup complete");
|
||||
}
|
||||
|
||||
void GT911Touchscreen::update_touches() {
|
||||
|
@ -23,7 +23,6 @@ bool MCP2515::setup_internal() {
|
||||
if (this->set_mode_(this->mcp_mode_) != canbus::ERROR_OK)
|
||||
return false;
|
||||
uint8_t err_flags = this->get_error_flags_();
|
||||
ESP_LOGD(TAG, "mcp2515 setup done, error_flags = %02X", err_flags);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -19,16 +19,12 @@ void MICS4514Component::setup() {
|
||||
power_mode = 0x01;
|
||||
this->write_register(POWER_MODE_REGISTER, &power_mode, 1);
|
||||
delay(100); // NOLINT
|
||||
this->set_timeout("warmup", 3 * 60 * 1000, [this]() {
|
||||
this->warmed_up_ = true;
|
||||
ESP_LOGCONFIG(TAG, "MICS 4514 setup complete.");
|
||||
});
|
||||
this->set_timeout("warmup", 3 * 60 * 1000, [this]() { this->warmed_up_ = true; });
|
||||
this->status_set_warning();
|
||||
return;
|
||||
}
|
||||
ESP_LOGCONFIG(TAG, "Device already awake.");
|
||||
this->warmed_up_ = true;
|
||||
ESP_LOGCONFIG(TAG, "MICS 4514 setup complete.");
|
||||
}
|
||||
void MICS4514Component::dump_config() {
|
||||
ESP_LOGCONFIG(TAG, "MICS 4514:");
|
||||
|
@ -450,7 +450,6 @@ void Nextion::process_nextion_commands_() {
|
||||
this->remove_from_q_();
|
||||
if (!this->is_setup_) {
|
||||
if (this->nextion_queue_.empty()) {
|
||||
ESP_LOGD(TAG, "Setup complete");
|
||||
this->is_setup_ = true;
|
||||
this->setup_callback_.call();
|
||||
}
|
||||
|
@ -112,7 +112,6 @@ void QspiDbi::write_init_sequence_() {
|
||||
}
|
||||
this->reset_params_(true);
|
||||
this->setup_complete_ = true;
|
||||
ESP_LOGCONFIG(TAG, "QSPI_DBI setup complete");
|
||||
}
|
||||
|
||||
void QspiDbi::set_addr_window_(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2) {
|
||||
|
@ -40,7 +40,6 @@ void RpiDpiRgb::setup() {
|
||||
}
|
||||
ESP_ERROR_CHECK(esp_lcd_panel_reset(this->handle_));
|
||||
ESP_ERROR_CHECK(esp_lcd_panel_init(this->handle_));
|
||||
ESP_LOGCONFIG(TAG, "RPI_DPI_RGB setup complete");
|
||||
}
|
||||
void RpiDpiRgb::loop() {
|
||||
if (this->handle_ != nullptr)
|
||||
|
@ -15,7 +15,6 @@ void Sdl::setup() {
|
||||
this->texture_ =
|
||||
SDL_CreateTexture(this->renderer_, SDL_PIXELFORMAT_RGB565, SDL_TEXTUREACCESS_STATIC, this->width_, this->height_);
|
||||
SDL_SetTextureBlendMode(this->texture_, SDL_BLENDMODE_BLEND);
|
||||
ESP_LOGD(TAG, "Setup Complete");
|
||||
}
|
||||
void Sdl::update() {
|
||||
this->do_update_();
|
||||
|
@ -173,7 +173,6 @@ void USBClient::setup() {
|
||||
usb_host_transfer_alloc(64, 0, &trq->transfer);
|
||||
trq->client = this;
|
||||
}
|
||||
ESP_LOGCONFIG(TAG, "client setup complete");
|
||||
}
|
||||
|
||||
void USBClient::loop() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user