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());
}
if (this->height_.value() < 0) {
if (this->height_.value() < 0) {
ESP_LOGCONFIG(TAG, "%*sHeight: UNSET (Will use %s's height)", indent_depth, "",
this->unset_height_uses_display_height_ ? "DISPLAY" : "CHILD");
} else {

View file

@ -1,9 +1,9 @@
#pragma once
#include "esphome/core/color.h"
#include "esphome/core/log.h"
namespace esphome {
struct LogString;
namespace display {
class Display;
class Rect;
@ -86,7 +86,7 @@ class LayoutItem {
/** 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
*/
void dump_config_base_properties(const char *tag, int indent_depth);