From 7873424d66adb4cd2ec2a482393228fe9088c61d Mon Sep 17 00:00:00 2001 From: bit-world Date: Sun, 25 Sep 2016 20:46:57 +0300 Subject: [PATCH] Update PhpSerial.php --- src/PhpSerial.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpSerial.php b/src/PhpSerial.php index 1d253d5..bc6fe81 100644 --- a/src/PhpSerial.php +++ b/src/PhpSerial.php @@ -110,7 +110,7 @@ public function deviceSet($device) ) === 0 ) { $this->_winDevice = "COM" . $matches[1]; - $this->_device = "\\.com" . $matches[1]; + $this->_device = "\\.\com" . $matches[1]; $this->_dState = SERIAL_DEVICE_SET; return true;