mirror of
https://github.com/wled/WLED.git
synced 2025-04-25 15:27:19 +00:00
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;
|
sdaPin = newSda;
|
||||||
if (newScl<0 || newSda<0) {
|
if (newScl<0 || newSda<0) {
|
||||||
type = NONE;
|
type = NONE;
|
||||||
return;
|
return true;
|
||||||
} else
|
} else
|
||||||
type = newType;
|
type = newType;
|
||||||
lineHeight = type==SSD1306 ? 1 : 2;
|
lineHeight = type==SSD1306 ? 1 : 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user