mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
Set corrected
git-svn-id: https://svn.fhem.de/fhem/trunk@3011 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e22e59456d
commit
6d92450a24
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# derived from previous 70_USBWX.pm version written by "Peter from Vienna"
|
# derived from previous 70_USBWX.pm version written by "Peter from Vienna"
|
||||||
#
|
#
|
||||||
# Willi Herzig, 2011
|
# Willi Herzig, 2011-2013
|
||||||
#
|
#
|
||||||
# This script is distributed in the hope that it will be useful,
|
# This script is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
@ -31,7 +31,6 @@ USBWX_Initialize($)
|
|||||||
$hash->{UndefFn} = "USBWX_Undef";
|
$hash->{UndefFn} = "USBWX_Undef";
|
||||||
|
|
||||||
$hash->{GetFn} = "USBWX_Get";
|
$hash->{GetFn} = "USBWX_Get";
|
||||||
$hash->{SetFn} = "USBWX_Set";
|
|
||||||
$hash->{ParseFn} = "USBWX_Parse";
|
$hash->{ParseFn} = "USBWX_Parse";
|
||||||
|
|
||||||
$hash->{StateFn} = "USBWX_SetState";
|
$hash->{StateFn} = "USBWX_SetState";
|
||||||
@ -312,19 +311,6 @@ USBWX_Shutdown($)
|
|||||||
return undef;
|
return undef;
|
||||||
}
|
}
|
||||||
|
|
||||||
#####################################
|
|
||||||
sub
|
|
||||||
USBWX_Set($@)
|
|
||||||
{
|
|
||||||
my ($hash, @a) = @_;
|
|
||||||
|
|
||||||
my $msg;
|
|
||||||
my $name=$a[0];
|
|
||||||
my $reading= $a[1];
|
|
||||||
$msg="$name => No Set function ($reading) implemented";
|
|
||||||
return $msg;
|
|
||||||
}
|
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
sub
|
sub
|
||||||
USBWX_Get($@)
|
USBWX_Get($@)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user