mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 06:54:52 +01:00
Update display.h
This commit is contained in:
parent
52adf0ff89
commit
c87533eb62
1 changed files with 2 additions and 3 deletions
|
@ -448,8 +448,7 @@ class Display : public PollingComponent {
|
|||
* @param time The time to format.
|
||||
*/
|
||||
void strftime(int x, int y, BaseFont *font, Color color, Color background TextAlign align, const char *format,
|
||||
ESPTime time)
|
||||
__attribute__((format(strftime, 7, 0)));
|
||||
ESPTime time) __attribute__((format(strftime, 7, 0)));
|
||||
|
||||
/** Evaluate the strftime-format `format` and print the result with the top left at [x,y] with `font`.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue