Subject line (try to keep under 50 characters)

Multi-line description of commit,
feel free to be detailed.

[Ticket: X]
This commit is contained in:
Marko Oldenburg 2022-02-01 17:06:07 +01:00
parent a3d04bd254
commit ecae350c46

View File

@ -6,14 +6,13 @@ use strict;
use warnings; use warnings;
use Path::Tiny; use Path::Tiny;
use Cwd qw(getcwd);
use IO::Socket::INET; use IO::Socket::INET;
my $workdir = getcwd; BEGIN {
push @INC, "./lib";
}
push @INC, "$workdir/lib"; use iec1107;
require iec1107;
my $port = Device::SerialPort->new( my $port = Device::SerialPort->new(
"/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AK072UA9-if00-port0") "/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AK072UA9-if00-port0")