From 17843e2a26280b1bdc6ab1ba6e99522dcc6d915c Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Fri, 3 Jan 2014 08:28:59 +0000 Subject: [PATCH] SUNRISE_EL: remove upper_limb correction, default in DateTime:Event:Sunrise too git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4537 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/99_SUNRISE_EL.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fhem/FHEM/99_SUNRISE_EL.pm b/fhem/FHEM/99_SUNRISE_EL.pm index cc94d631e..f099c0679 100755 --- a/fhem/FHEM/99_SUNRISE_EL.pm +++ b/fhem/FHEM/99_SUNRISE_EL.pm @@ -183,12 +183,6 @@ _sunrise_sunset($$$$$) # Compute time when Sun is at south - in hours UT my $tsouth = 12.0 - _rev180( $sidtime - $sRA ) / $h; - # Compute the Sun's apparent radius, degrees - my $sradius = 0.2666 / $sr; - - # Do correction to upper limb, if necessary - $altit -= $sradius; - # Compute the diurnal arc that the Sun traverses to reach # the specified altitude altit: my $cost =