From 9af1abd82696b85dea9e6d41f02ce751cdb9a5b7 Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Sat, 5 Mar 2016 17:16:36 +0000 Subject: [PATCH] YAMAHA_AVR: remove $waitIfInitNotDone from InternalTimer() as it is not neccessary anymore git-svn-id: https://svn.fhem.de/fhem/trunk@11001 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/71_YAMAHA_AVR.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fhem/FHEM/71_YAMAHA_AVR.pm b/fhem/FHEM/71_YAMAHA_AVR.pm index 690124e32..8d30fdbb0 100755 --- a/fhem/FHEM/71_YAMAHA_AVR.pm +++ b/fhem/FHEM/71_YAMAHA_AVR.pm @@ -1024,7 +1024,7 @@ YAMAHA_AVR_HandleCmdQueue($) # still request in queue, but not mentioned to be executed now Log3 $name, 5, "YAMAHA_AVR ($name) - still requests in queue, but no command shall be executed at the moment. Retry in 1 second."; RemoveInternalTimer($hash, "YAMAHA_AVR_HandleCmdQueue"); - InternalTimer(gettimeofday()+1,"YAMAHA_AVR_HandleCmdQueue", $hash, 0); + InternalTimer(gettimeofday()+1,"YAMAHA_AVR_HandleCmdQueue", $hash); return undef; } @@ -1979,15 +1979,15 @@ sub YAMAHA_AVR_ResetTimer($;$) { if(defined($interval)) { - InternalTimer(gettimeofday()+$interval, "YAMAHA_AVR_GetStatus", $hash, 0); + InternalTimer(gettimeofday()+$interval, "YAMAHA_AVR_GetStatus", $hash); } elsif(ReadingsVal($name, "presence", "absent") eq "present" and ReadingsVal($name, "power", "off") eq "on") { - InternalTimer(gettimeofday()+$hash->{helper}{ON_INTERVAL}, "YAMAHA_AVR_GetStatus", $hash, 0); + InternalTimer(gettimeofday()+$hash->{helper}{ON_INTERVAL}, "YAMAHA_AVR_GetStatus", $hash); } else { - InternalTimer(gettimeofday()+$hash->{helper}{OFF_INTERVAL}, "YAMAHA_AVR_GetStatus", $hash, 0); + InternalTimer(gettimeofday()+$hash->{helper}{OFF_INTERVAL}, "YAMAHA_AVR_GetStatus", $hash); } }