1
0
forked from fsfw/fsfw

array printer tests complete

This commit is contained in:
2021-01-15 18:07:32 +01:00
parent 38dd230887
commit a9135696a5
9 changed files with 77 additions and 31 deletions

View File

@ -167,7 +167,9 @@ std::string* ServiceInterfaceBuffer::getPreamble(size_t * preambleSize) {
return &preamble;
}
bool ServiceInterfaceBuffer::crAdditionEnabled() const {
return addCrToPreamble;
}
#ifdef UT699
#include "../osal/rtems/Interrupt.h"

View File

@ -70,6 +70,8 @@ private:
void putChars(char const* begin, char const* end);
std::string* getPreamble(size_t * preambleSize = nullptr);
bool crAdditionEnabled() const;
};
#endif

View File

@ -15,5 +15,9 @@ std::string* ServiceInterfaceStream::getPreamble() {
return streambuf.getPreamble();
}
bool ServiceInterfaceStream::crAdditionEnabled() const {
return streambuf.crAdditionEnabled();
}
#endif

View File

@ -39,6 +39,8 @@ public:
*/
std::string* getPreamble();
bool crAdditionEnabled() const;
protected:
ServiceInterfaceBuffer streambuf;
};