Fix Waveshare 7.5v2 epaper screens are always powered on (#5283)

This commit is contained in:
phoenixswiss
2023-09-14 08:20:21 +02:00
committed by Jesse Hills
parent b3ca71c6fb
commit ec20778d83
2 changed files with 61 additions and 9 deletions
@@ -472,6 +472,8 @@ class WaveshareEPaper7P5InBC : public WaveshareEPaper {
class WaveshareEPaper7P5InV2 : public WaveshareEPaper {
public:
bool wait_until_idle_();
void initialize() override;
void display() override;
@@ -491,6 +493,8 @@ class WaveshareEPaper7P5InV2 : public WaveshareEPaper {
int get_width_internal() override;
int get_height_internal() override;
uint32_t idle_timeout_() override;
};
class WaveshareEPaper7P5InV2alt : public WaveshareEPaper7P5InV2 {