Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kestrel Collaboration
Kestrel Firmware
serial
Commits
2f36f14e
Commit
2f36f14e
authored
13 years ago
by
William Woodall
Browse files
Options
Download
Email Patches
Plain Diff
Everything builds, but haven't tested it on a serial device.
parent
65fc8fb2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
serial.cmake
serial.cmake
+1
-1
src/serial.cc
src/serial.cc
+1
-1
No files found.
serial.cmake
View file @
2f36f14e
...
...
@@ -41,7 +41,7 @@ ENDIF(NOT DEFINED(LIBRARY_OUTPUT_PATH))
include_directories
(
${
PROJECT_SOURCE_DIR
}
/include
)
# Add default source files
set
(
SERIAL_SRCS src/serial.cc src/impl/unix.cc
)
#
src/serial_listener.cc)
set
(
SERIAL_SRCS src/serial.cc src/impl/unix.cc src/serial_listener.cc
)
# Add default header files
set
(
SERIAL_HEADERS include/serial/serial.h include/serial/serial_listener.h
)
...
...
This diff is collapsed.
Click to expand it.
src/serial.cc
View file @
2f36f14e
...
...
@@ -20,7 +20,7 @@ Serial::Serial (const string &port, int baudrate, long timeout,
bytesize_t
bytesize
,
parity_t
parity
,
stopbits_t
stopbits
,
flowcontrol_t
flowcontrol
)
{
pimpl
=
new
Serial
_pi
mpl
(
port
,
baudrate
,
timeout
,
bytesize
,
parity
,
pimpl
=
new
Serial
I
mpl
(
port
,
baudrate
,
timeout
,
bytesize
,
parity
,
stopbits
,
flowcontrol
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment