Handout
This commit is contained in:
30
device/serialstream.cc
Normal file
30
device/serialstream.cc
Normal file
@@ -0,0 +1,30 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user