Remove second display initialization

Calling the init method a second time hangs forever, so the loop is never executed otherwise. Removing the second call fixes it.
This commit is contained in:
Felix Lapalme 2022-08-28 18:14:32 -04:00 committed by GitHub
commit 2ccca21326
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,11 +92,6 @@ void setup() {
delay(2000);
if (epd.Init() != 0) {
Serial.print("e-Paper init failed ");
return;
}
/**
* there are 2 memory areas embedded in the e-paper display
* and once the display is refreshed, the memory area will be auto-toggled,