Fixed four line display usermod compilation
Thanks @Serg74!
This commit is contained in:
parent
af9aa7d201
commit
0ae0f40628
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user