Fixed four line display usermod compilation

Thanks @Serg74!
pull/2043/head
cschwinne 2021-06-25 23:42:53 +02:00
rodzic af9aa7d201
commit 0ae0f40628
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -676,7 +676,7 @@ class FourLineDisplayUsermod : public Usermod {
sdaPin = newSda;
if (newScl<0 || newSda<0) {
type = NONE;
return;
return true;
} else
type = newType;
lineHeight = type==SSD1306 ? 1 : 2;