We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd96280 commit dfb233cCopy full SHA for dfb233c
src/SerialConnection.php
@@ -134,7 +134,7 @@ public function setDevice($device)
134
* @param string $mode Opening mode : same parameter as fopen()
135
* @return bool
136
*/
137
- public function deviceOpen($mode = "r+b")
+ public function open($mode = "r+b")
138
{
139
if ($this->_dState === SERIAL_DEVICE_OPENED) {
140
trigger_error("The device is already opened", E_USER_NOTICE);
0 commit comments