More ci-custom + clang-format fixes

This commit is contained in:
Michael Davidson 2023-12-31 12:05:51 +11:00
parent 9e7ccebaa1
commit cf559ead56
No known key found for this signature in database
GPG key ID: B8D1A99712B8B0EB
2 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ void FixedDimensionPanel::dump_config(int indent_depth, int additional_level_dep
ESP_LOGCONFIG(TAG, "%*sWidth: %i", indent_depth, "", this->width_.value()); ESP_LOGCONFIG(TAG, "%*sWidth: %i", indent_depth, "", this->width_.value());
} }
if (this->height_.value() < 0) { if (this->height_.value() < 0) {
ESP_LOGCONFIG(TAG, "%*sHeight: UNSET (Will use %s's height)", indent_depth, "", ESP_LOGCONFIG(TAG, "%*sHeight: UNSET (Will use %s's height)", indent_depth, "",
this->unset_height_uses_display_height_ ? "DISPLAY" : "CHILD"); this->unset_height_uses_display_height_ ? "DISPLAY" : "CHILD");
} else { } else {

View file

@ -1,9 +1,9 @@
#pragma once #pragma once
#include "esphome/core/color.h" #include "esphome/core/color.h"
#include "esphome/core/log.h"
namespace esphome { namespace esphome {
struct LogString;
namespace display { namespace display {
class Display; class Display;
class Rect; class Rect;
@ -86,7 +86,7 @@ class LayoutItem {
/** Dumps the base properties of the LayoutItem. Should be called by implementors dump_config() /** Dumps the base properties of the LayoutItem. Should be called by implementors dump_config()
* *
* param[in] tag: Tag to pass to ESP_LOGCONFIG * param[in] tag: Tag to pass to the LOGCONFIG method
* param[in] indent_depth: Depth to indent the config * param[in] indent_depth: Depth to indent the config
*/ */
void dump_config_base_properties(const char *tag, int indent_depth); void dump_config_base_properties(const char *tag, int indent_depth);