Skip to content

Commit

Permalink
Merge pull request #580 from hollie/fix_global_var_bsc.pl
Browse files Browse the repository at this point in the history
Declare the global variables explicitly in bsc.pl
  • Loading branch information
hollie committed Apr 4, 2016
2 parents 498f213 + 963982b commit df92b7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/common/bsc.pl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@
# bsc_info_interval = 10
# bsc_prefer_abstract = 0

my $bsc_x10_device;
my $bsc_abstract_device;
my $bsc_presence_device;
my $bsc_info_timer;

my $bsc_info_interval = $::config_parms{bsc_info_interval};
$bsc_info_interval = 10
if !$bsc_info_interval; # send out BSC info messages every 10 minutes
Expand Down

0 comments on commit df92b7d

Please sign in to comment.