mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
add write_settings
git-svn-id: https://svn.fhem.de/fhem/trunk@190 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ed473bfa78
commit
662916d4de
@ -150,6 +150,7 @@ WS300_Define($$)
|
|||||||
$po->dtr_active(1);
|
$po->dtr_active(1);
|
||||||
sleep(1);
|
sleep(1);
|
||||||
$po->rts_active(0);
|
$po->rts_active(0);
|
||||||
|
$po->write_settings;
|
||||||
$hash->{PortObj} = $po;
|
$hash->{PortObj} = $po;
|
||||||
$hash->{DeviceName} = $a[2];
|
$hash->{DeviceName} = $a[2];
|
||||||
$hash->{STATE} = "opened";
|
$hash->{STATE} = "opened";
|
||||||
@ -558,6 +559,7 @@ NEXTPOLL:
|
|||||||
$po->dtr_active(1);
|
$po->dtr_active(1);
|
||||||
sleep(1);
|
sleep(1);
|
||||||
$po->rts_active(0);
|
$po->rts_active(0);
|
||||||
|
$po->write_settings;
|
||||||
Log 1, "USB device $devname reappeared";
|
Log 1, "USB device $devname reappeared";
|
||||||
$hash->{PortObj} = $po;
|
$hash->{PortObj} = $po;
|
||||||
$hash->{STATE} = "opened";
|
$hash->{STATE} = "opened";
|
||||||
|
Loading…
Reference in New Issue
Block a user