mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
00_HMUARTLGW.pm: use DevIo
git-svn-id: https://svn.fhem.de/fhem/trunk@25152 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d6ee343fdd
commit
fe03805d3d
@ -14,6 +14,7 @@ package main;
|
|||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
|
||||||
|
use DevIo;
|
||||||
use Digest::MD5;
|
use Digest::MD5;
|
||||||
use Time::HiRes qw(gettimeofday time);
|
use Time::HiRes qw(gettimeofday time);
|
||||||
use Time::Local;
|
use Time::Local;
|
||||||
@ -136,8 +137,6 @@ sub HMUARTLGW_Initialize($)
|
|||||||
{
|
{
|
||||||
my ($hash) = @_;
|
my ($hash) = @_;
|
||||||
|
|
||||||
require "$attr{global}{modpath}/FHEM/DevIo.pm";
|
|
||||||
|
|
||||||
$hash->{ReadyFn} = "HMUARTLGW_Ready";
|
$hash->{ReadyFn} = "HMUARTLGW_Ready";
|
||||||
$hash->{ReadFn} = "HMUARTLGW_Read";
|
$hash->{ReadFn} = "HMUARTLGW_Read";
|
||||||
$hash->{WriteFn} = "HMUARTLGW_Write";
|
$hash->{WriteFn} = "HMUARTLGW_Write";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user