summaryrefslogtreecommitdiff
path: root/megalogger/datalogger.h
diff options
context:
space:
mode:
Diffstat (limited to 'megalogger/datalogger.h')
-rw-r--r--megalogger/datalogger.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/megalogger/datalogger.h b/megalogger/datalogger.h
index d59819e..e6f0709 100644
--- a/megalogger/datalogger.h
+++ b/megalogger/datalogger.h
@@ -96,8 +96,10 @@ public:
}
void sendData(const char* buf, byte len)
{
+#if ENABLE_DATA_OUT
SerialRF.write(buf, len);
delay(10);
+#endif
}
void logData(char c)
{