mirror of
https://github.com/esphome/esphome.git
synced 2026-02-18 15:35:59 -07:00
[ssd1327_spi] Combine log statements to reduce loop blocking (#12973)
This commit is contained in:
@@ -19,11 +19,13 @@ void SPISSD1327::setup() {
|
|||||||
}
|
}
|
||||||
void SPISSD1327::dump_config() {
|
void SPISSD1327::dump_config() {
|
||||||
LOG_DISPLAY("", "SPI SSD1327", this);
|
LOG_DISPLAY("", "SPI SSD1327", this);
|
||||||
ESP_LOGCONFIG(TAG, " Model: %s", this->model_str_());
|
ESP_LOGCONFIG(TAG,
|
||||||
|
" Model: %s\n"
|
||||||
|
" Initial Brightness: %.2f",
|
||||||
|
this->model_str_(), this->brightness_);
|
||||||
LOG_PIN(" CS Pin: ", this->cs_);
|
LOG_PIN(" CS Pin: ", this->cs_);
|
||||||
LOG_PIN(" DC Pin: ", this->dc_pin_);
|
LOG_PIN(" DC Pin: ", this->dc_pin_);
|
||||||
LOG_PIN(" Reset Pin: ", this->reset_pin_);
|
LOG_PIN(" Reset Pin: ", this->reset_pin_);
|
||||||
ESP_LOGCONFIG(TAG, " Initial Brightness: %.2f", this->brightness_);
|
|
||||||
LOG_UPDATE_INTERVAL(this);
|
LOG_UPDATE_INTERVAL(this);
|
||||||
}
|
}
|
||||||
void SPISSD1327::command(uint8_t value) {
|
void SPISSD1327::command(uint8_t value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user