Commit 2f36f14e authored by William Woodall's avatar William Woodall
Browse files

Everything builds, but haven't tested it on a serial device.

parent 65fc8fb2
......@@ -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)
......
......@@ -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_pimpl(port, baudrate, timeout, bytesize, parity,
pimpl = new SerialImpl(port, baudrate, timeout, bytesize, parity,
stopbits, flowcontrol);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment