paulbergmann_mpstubs/device/serialstream.cc

41 lines
734 B
C++
Raw Permalink Normal View History

#include "device/serialstream.h"
#include "debug/output.h"
SerialStream::SerialStream(ComPort port, BaudRate baud_rate, DataBits data_bits, StopBits stop_bits, Parity parity)
: Serial(port, baud_rate, data_bits, stop_bits, 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;
}
bool SerialStream::getPos(int &x, int &y) {
(void) x;
(void) y;
return false;
}
void SerialStream::print(char* str, int length) {
(void) str;
(void) length;
}