mirror of
https://github.com/esphome/esphome.git
synced 2024-12-12 08:24:55 +01:00
More ci-custom + clang-format fixes
This commit is contained in:
parent
9e7ccebaa1
commit
cf559ead56
2 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue