Skip to content

Commit 83dc745

Browse files
committed
Fix error
1 parent 0e0ba94 commit 83dc745

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/qrcode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,14 +240,14 @@ void QRcode::create(String message) {
240240
}
241241
}
242242
}
243-
if (model==OLED_MODEL)
243+
if (model==OLED_MODEL){
244244
#ifdef OLEDDISPLAY
245245
display->display();
246246
#endif
247+
}
247248
if (this->model==EINK_MODEL) {
248249
#ifdef EINKDISPLAY
249250
eink->update();
250-
delay(2000);
251251
#endif
252252
}
253253
}

0 commit comments

Comments
 (0)