diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-09-06 14:48:36 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-09-06 14:48:36 +0200 |
commit | f321c4f78317b142ccabbde92b781d150194bba7 (patch) | |
tree | e242e69373ad61f83a8c61c8dd7fd83acae52c5f /lib/Kratos/DFADriver.pm | |
parent | f9db277a72fece83bd9fed77c793a73b7e3d8360 (diff) |
Support new UART "endl" implementation in Kratos
Diffstat (limited to 'lib/Kratos/DFADriver.pm')
-rw-r--r-- | lib/Kratos/DFADriver.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kratos/DFADriver.pm b/lib/Kratos/DFADriver.pm index ade6067..dfabef8 100644 --- a/lib/Kratos/DFADriver.pm +++ b/lib/Kratos/DFADriver.pm @@ -1276,7 +1276,7 @@ sub launchpad_log_read { croak("Serial port was disconnected"); } if ( $count > 0 ) { - my @lines = split( /\n\r/, $chars ); + my @lines = split( /\n\r|\r\n/, $chars ); for my $line (@lines) { $self->launchpad_parse_line($line); } |