From 0ae0f40628f5ed7c5ee8f71793b02128edf2dda9 Mon Sep 17 00:00:00 2001 From: cschwinne Date: Fri, 25 Jun 2021 23:42:53 +0200 Subject: [PATCH] Fixed four line display usermod compilation Thanks @Serg74! --- .../usermod_v2_four_line_display/usermod_v2_four_line_display.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usermods/usermod_v2_four_line_display/usermod_v2_four_line_display.h b/usermods/usermod_v2_four_line_display/usermod_v2_four_line_display.h index 84593b38..9510d9be 100644 --- a/usermods/usermod_v2_four_line_display/usermod_v2_four_line_display.h +++ b/usermods/usermod_v2_four_line_display/usermod_v2_four_line_display.h @@ -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;