Remove unused variables

This commit is contained in:
Nisarg Jhaveri 2024-06-21 15:34:02 +05:30
parent 3ac3f0406f
commit 4a6ca41810
2 changed files with 0 additions and 3 deletions

View file

@ -104,7 +104,6 @@ void HOT WaveshareEPaper4P26In::display() {
this->is_busy_ = true; this->is_busy_ = true;
bool full_update = this->at_update_ == 0; bool full_update = this->at_update_ == 0;
bool prev_full_update = this->at_update_ == 1;
if (this->full_update_every_ >= 1) { if (this->full_update_every_ >= 1) {
this->at_update_ = (this->at_update_ + 1) % this->full_update_every_; this->at_update_ = (this->at_update_ + 1) % this->full_update_every_;

View file

@ -178,8 +178,6 @@ class WaveshareEPaper4P26In : public WaveshareEPaper {
bool is_busy_ = false; bool is_busy_ = false;
uint32_t full_update_every_{30}; uint32_t full_update_every_{30};
uint32_t at_update_{0}; uint32_t at_update_{0};
bool deep_sleep_between_updates_{true};
}; };
enum WaveshareEPaperTypeBModel { enum WaveshareEPaperTypeBModel {