Skip to content

Commit f93fbab

Browse files
committed
Updates
1 parent 4c54e12 commit f93fbab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RevolutionPi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function led(LedPosition $position): Led
5252
return $this->module()->getLed($position);
5353
}
5454

55-
public function serialPort(string $devicePath): SerialPort
55+
public function serialPort(string $devicePath = '/dev/ttyRS485-0'): SerialPort
5656
{
5757
return $this->module()->getSerialPort($devicePath);
5858
}

0 commit comments

Comments
 (0)