98_logProxy.pm: use prev_value instead of next_value for end of plot if interpolation is disabled. fits better for plot mode steps
git-svn-id: https://svn.fhem.de/fhem/trunk@7006 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -560,7 +560,7 @@ logProxy_clipData($$$$;$)
|
||||
}
|
||||
|
||||
if( $next_value ) {
|
||||
my $value = $next_value;
|
||||
my $value = $prev_value;
|
||||
$value = logProxy_linearInterpolate( SVG_time_to_sec($prev_timestamp), $prev_value, SVG_time_to_sec($next_timestamp), $next_value, $to ) if( $interpolate );
|
||||
|
||||
my @t = localtime($to);
|
||||
|
||||
Reference in New Issue
Block a user