don't build FakeUART on other platforms

This commit is contained in:
Thomas Göttgens
2025-03-04 11:11:25 +01:00
parent 7ee95f2a0c
commit 8c53ce82f2
2 changed files with 8 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
#include "FakeUART.h"
#ifdef SENSECAP_INDICATOR
FakeUART::FakeUART() {}
void FakeUART::begin(unsigned long baud, uint32_t config, int8_t rxPin, int8_t txPin, bool invert, unsigned long timeout_ms,
@@ -88,3 +90,5 @@ size_t FakeUART::stuff_buffer(const char *buffer, size_t size)
}
FakeUART *FakeSerial;
#endif