Greg,

Just noticed that the Celsius Temperature display was broken. (39 is a
bit warm for December in my part of the globe *gg*)


In the FtoC routine you've got the conversion 'commented' ?
Removing the comment worked for me, question is: does that break
something else ?

sub FtoC {
        my $temp = shift;

        #$temp = ($temp-32)*5/9;
        $temp = int($temp + .5 * ($temp <=> 0)); #Funky round   
        
        return $temp;
}


PS: 2000+ lines of perl: respect ;-)


-- 
w42
------------------------------------------------------------------------
w42's Profile: http://forums.slimdevices.com/member.php?userid=2498
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to