Skip to content

Commit

Permalink
Merge pull request #836 from ebardsley/glob
Browse files Browse the repository at this point in the history
Allow globs in serial port names.
  • Loading branch information
hplato authored Feb 2, 2022
2 parents 7db9f2b + 075c890 commit 61d46c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Insteon_PLM.pm
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ sub serial_startup {
if ( !defined($port) ) {
main::print_log( "WARN: " . $instance . "_serial_port missing from INI params!" );
}
$port = glob($port);
my $speed = 19200;

&::print_log("[Insteon_PLM] serial:$port:$speed");
Expand Down

0 comments on commit 61d46c8

Please sign in to comment.