Skip to content

Commit

Permalink
setCanonical(false)
Browse files Browse the repository at this point in the history
  • Loading branch information
alphp committed Mar 10, 2022
1 parent ba288db commit 4871fe2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fawno/modbus",
"version": "0.2.0",
"version": "0.2.1",
"description": "Modbus RTU serial protocol in PHP",
"keywords": ["Modbus RTU", "DDS238"],
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions src/ModbusRTU.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public function __construct (string $device, SerialConfig $config = null) {
$config->setStopBits(StopBits::ONE);
$config->setParity(Parity::NONE);
$config->setFlowControl(false);
$config->setCanonical(false);
}

parent::__construct($device, $config);
Expand Down

0 comments on commit 4871fe2

Please sign in to comment.