[epaper_spi] Keep the size accessors as they were

This commit is contained in:
J. Nick Koston
2026-09-17 08:43:01 -05:00
parent e41d3511ed
commit 1c2325da30
+2 -2
View File
@@ -111,8 +111,8 @@ class EPaperBase : public Display,
this->fill(COLOR_ON);
}
int get_width() override { return (this->effective_transform_ & SWAP_XY) ? this->height_ : this->width_; }
int get_height() override { return (this->effective_transform_ & SWAP_XY) ? this->width_ : this->height_; }
int get_width() override { return this->effective_transform_ & SWAP_XY ? this->height_ : this->width_; }
int get_height() override { return this->effective_transform_ & SWAP_XY ? this->width_ : this->height_; }
bool pixel_axes_swapped() const override { return this->effective_transform_ & SWAP_XY; }
void draw_pixel_at(int x, int y, Color color) override;