add write_settings

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@190 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
tdressler
2008-05-12 16:51:50 +00:00
parent 4efca4850e
commit 3b004ac714

View File

@@ -150,6 +150,7 @@ WS300_Define($$)
$po->dtr_active(1);
sleep(1);
$po->rts_active(0);
$po->write_settings;
$hash->{PortObj} = $po;
$hash->{DeviceName} = $a[2];
$hash->{STATE} = "opened";
@@ -558,6 +559,7 @@ NEXTPOLL:
$po->dtr_active(1);
sleep(1);
$po->rts_active(0);
$po->write_settings;
Log 1, "USB device $devname reappeared";
$hash->{PortObj} = $po;
$hash->{STATE} = "opened";