Skip to content

Commit

Permalink
require 99_Utils only if really needed (#950)
Browse files Browse the repository at this point in the history
* 00_SIGNALduino.pm

Check if 99_Utils is already loaded to avoid perl warnings
  • Loading branch information
sidey79 committed Mar 18, 2021
1 parent 62bf038 commit 10382c4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGED
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2021-03-16 - Update 00_SIGNALduino.pm

Updated version
2021-03-01 - update reading config when change settings (#948)

Automatic update of the reading config with set enable/disable MessageType or set raw CER/CDR.
Expand Down
6 changes: 3 additions & 3 deletions FHEM/00_SIGNALduino.pm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#
# 2014-2015 S.Butzek, N.Butzek
# 2016-2019 S.Butzek, Ralf9
# 2019-2020 S.Butzek, HomeAutoUser, elektron-bbs
# 2019-2021 S.Butzek, HomeAutoUser, elektron-bbs


package main;
Expand All @@ -20,7 +20,7 @@ use warnings;
my $missingModulSIGNALduino = '';

use DevIo;
require "99_Utils.pm";
require "99_Utils.pm" if (!defined $modules{"Utils"} || !exists $modules{"Utils"}{"LOADED"} );
use Carp;
no warnings 'portable';

Expand All @@ -38,7 +38,7 @@ use lib::SD_Protocols;


use constant {
SDUINO_VERSION => '3.5.1+20210228',
SDUINO_VERSION => '3.5.1+20210603',
SDUINO_INIT_WAIT_XQ => 1.5, # wait disable device
SDUINO_INIT_WAIT => 2,
SDUINO_INIT_MAXRETRY => 3,
Expand Down
2 changes: 1 addition & 1 deletion controls_signalduino.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
UPD 2021-03-01_17:09:51 222909 FHEM/00_SIGNALduino.pm
UPD 2021-03-16_21:49:47 222981 FHEM/00_SIGNALduino.pm
UPD 2020-06-15_17:41:39 17876 FHEM/10_FS10.pm
UPD 2020-05-26_11:51:12 20465 FHEM/10_SD_GT.pm
UPD 2016-09-18_21:22:06 10111 FHEM/14_BresserTemeo.pm
Expand Down

0 comments on commit 10382c4

Please sign in to comment.