Added tap to wake and cycle feed

This commit is contained in:
2026-08-22 17:11:53 +02:00
parent 2b5004a569
commit 539df2182a
7 changed files with 610 additions and 52 deletions
+5 -1
View File
@@ -18,7 +18,11 @@ namespace fast_jpeg {
class FastJpeg : public PollingComponent {
public:
void set_url(const std::string &url) { this->url_ = url; }
void set_url(const std::string &url) {
this->url_ = url;
this->etag_[0] = '\0';
this->bars_cleared_ = false;
}
void set_display(display::Display *display) { this->display_ = display; }
void set_x(int x) { this->x_ = x; }
void set_y(int y) { this->y_ = y; }