From 10382c423cc3fccfa76e58212209abcc63028d9f Mon Sep 17 00:00:00 2001 From: sidey79 <7968127+sidey79@users.noreply.github.com> Date: Thu, 18 Mar 2021 23:17:44 +0100 Subject: [PATCH] require 99_Utils only if really needed (#950) * 00_SIGNALduino.pm Check if 99_Utils is already loaded to avoid perl warnings --- CHANGED | 3 +++ FHEM/00_SIGNALduino.pm | 6 +++--- controls_signalduino.txt | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGED b/CHANGED index 88e4f733d..4e3319f2b 100644 --- a/CHANGED +++ b/CHANGED @@ -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. diff --git a/FHEM/00_SIGNALduino.pm b/FHEM/00_SIGNALduino.pm index ed587a2ba..e9772b60e 100644 --- a/FHEM/00_SIGNALduino.pm +++ b/FHEM/00_SIGNALduino.pm @@ -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; @@ -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'; @@ -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, diff --git a/controls_signalduino.txt b/controls_signalduino.txt index e14479ecc..72d05316e 100644 --- a/controls_signalduino.txt +++ b/controls_signalduino.txt @@ -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