2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

55_GDS.pm: minor bugfix in rgb converter

git-svn-id: https://svn.fhem.de/fhem/trunk@6798 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2014-10-21 14:13:31 +00:00
parent ff15d37641
commit e429465583

View File

@ -956,7 +956,7 @@ sub sepLine($) {
sub _rgbd2h($) {
my ($input) = @_;
my @a = split(" ", $input);
my $output = sprintf( "%x%x%x", $a[0],$a[1],$a[2]);
my $output = sprintf( "%02x%02x%02x", $a[0],$a[1],$a[2]);
return $output;
}