55_GDS.pm: minor bugfix in rgb converter

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6798 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2014-10-21 14:13:31 +00:00
parent 3499e8d2bf
commit ee66768e75

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;
}