fix typo main:main
This commit is contained in:
parent
971d4757f6
commit
0863ff4c8d
@ -551,7 +551,7 @@ sub Connect($) {
|
|||||||
$hash->{DeviceName} .= ":$port";
|
$hash->{DeviceName} .= ":$port";
|
||||||
}
|
}
|
||||||
|
|
||||||
main::main::DevIo_CloseDev($hash) if main::DevIo_IsOpen($hash);
|
main::DevIo_CloseDev($hash) if main::DevIo_IsOpen($hash);
|
||||||
delete $hash->{DevIoJustClosed} if ( $hash->{DevIoJustClosed} );
|
delete $hash->{DevIoJustClosed} if ( $hash->{DevIoJustClosed} );
|
||||||
|
|
||||||
return OpenIfRequiredAndWritePending( $hash, $isNewConnection );
|
return OpenIfRequiredAndWritePending( $hash, $isNewConnection );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user