Skip to content

Commit dfb233c

Browse files
author
Bram Ceulemans
authored
Update SerialConnection.php
1 parent dd96280 commit dfb233c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SerialConnection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function setDevice($device)
134134
* @param string $mode Opening mode : same parameter as fopen()
135135
* @return bool
136136
*/
137-
public function deviceOpen($mode = "r+b")
137+
public function open($mode = "r+b")
138138
{
139139
if ($this->_dState === SERIAL_DEVICE_OPENED) {
140140
trigger_error("The device is already opened", E_USER_NOTICE);

0 commit comments

Comments
 (0)