You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bsb1/device/serialstream.cc

31 lines
640 B
C++

#include "serialstream.h"
SerialStream::SerialStream(ComPort port, BaudRate baud_rate, DataBits data_bits,
StopBits stop_bits, Parity parity) {
(void)port;
(void)baud_rate;
(void)data_bits;
(void)stop_bits;
(void)parity;
}
void SerialStream::flush() {}
void SerialStream::setForeground(Color c) { (void)c; }
void SerialStream::setBackground(Color c) { (void)c; }
void SerialStream::setAttribute(Attrib a) { (void)a; }
void SerialStream::reset() {}
void SerialStream::setPos(int x, int y) {
(void)x;
(void)y;
}
void SerialStream::print(char* str, int length) {
(void)str;
(void)length;
}