From b4a6c1f3581ae036f6cd66f9a46de37aa673119b Mon Sep 17 00:00:00 2001 From: Damian Date: Tue, 30 Sep 2025 18:49:36 +0000 Subject: [PATCH] 98_DOIF.pm: card function: previous optimization removed git-svn-id: https://svn.fhem.de/fhem/trunk@30339 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_DOIF.pm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/fhem/FHEM/98_DOIF.pm b/fhem/FHEM/98_DOIF.pm index 143d874de..a6ac79028 100644 --- a/fhem/FHEM/98_DOIF.pm +++ b/fhem/FHEM/98_DOIF.pm @@ -5286,12 +5286,7 @@ sub plot { } my $lines=5; - if ($autoScaling) { - ($minPlot,$maxPlot,$lines)=nice_scale($minPlot,$maxPlot,6); - if ($lines >= 7) { - ($minPlot,$maxPlot,$lines)=nice_scale($minPlot,$maxPlot,5); - } - } + ($minPlot,$maxPlot,$lines)=nice_scale($minPlot,$maxPlot,5) if ($autoScaling); my ($m,$n)=m_n($minPlot,0,$maxPlot,50); my $currColor;