1
0
forked from fsfw/fsfw

service interface stream enhancements

This commit is contained in:
2020-05-29 20:31:08 +02:00
parent cb14ec15b5
commit e5cea3ead0
4 changed files with 47 additions and 22 deletions

View File

@ -5,7 +5,7 @@ void ServiceInterfaceStream::setActive( bool myActive) {
}
ServiceInterfaceStream::ServiceInterfaceStream(std::string set_message,
uint16_t port) :
std::basic_ostream<char, std::char_traits<char> >(&buf), buf(
set_message, port) {
bool addCrToPreamble, uint16_t port) :
std::basic_ostream<char, std::char_traits<char>>(&buf),
buf(set_message, port, addCrToPreamble) {
}