2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 12:58:13 +00:00

DevIo.pm: revert warnings, change to use DevIo (Forum #110125)

git-svn-id: https://svn.fhem.de/fhem/trunk@21659 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-04-13 10:08:36 +00:00
parent 2d96599ccb
commit 8e3afafaf9
4 changed files with 3 additions and 7 deletions

View File

@ -4,6 +4,7 @@ package main;
use strict;
use warnings;
use DevIo;
use Time::HiRes qw(gettimeofday);
sub CUL_Attr(@);
@ -126,8 +127,6 @@ CUL_Initialize($)
{
my ($hash) = @_;
require "$attr{global}{modpath}/FHEM/DevIo.pm";
# Provider
$hash->{ReadFn} = "CUL_Read";
$hash->{WriteFn} = "CUL_Write";

View File

@ -5,6 +5,7 @@ package main;
use strict;
use warnings;
use Time::HiRes qw(gettimeofday);
use DevIo;
use ZWLib;
use vars qw($FW_ME);
@ -81,8 +82,6 @@ ZWDongle_Initialize($)
{
my ($hash) = @_;
require "$attr{global}{modpath}/FHEM/DevIo.pm";
# Provider
$hash->{ReadFn} = "ZWDongle_Read";
$hash->{WriteFn} = "ZWDongle_Write";

View File

@ -4,6 +4,7 @@ package main;
use strict;
use warnings;
use DevIo;
sub resolveSymLink($);
# Problems:
@ -566,8 +567,6 @@ CommandUsb($$)
return "This command is not yet supported on windows";
}
require "$attr{global}{modpath}/FHEM/DevIo.pm";
Log3 undef, 1, "usb $n starting";
################
# First try to flash unflashed CULs

View File

@ -3,7 +3,6 @@
package main;
use strict;
use warnings;
sub DevIo_CloseDev($@);
sub DevIo_Disconnected($);