Files
2023-08-28 15:06:29 +02:00

22 lines
347 B
C++

#pragma once
#include <iostream>
#ifdef PLATFORM_NATIVE
class SerialMock {
public:
template< typename T>
static inline void print(const T & str) {
std::cout << str;
}
template< typename T>
static inline void println(const T & str) {
std::cout << str << std::endl;
}
};
static SerialMock Serial;
#endif