diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2015-10-08 13:03:39 +1100 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2015-10-08 13:03:39 +1100 |
commit | f2cbbc15143b4192961740fdf342c8d4cfde85d1 (patch) | |
tree | 868c0722587e3dad532249547040fab3eef51e26 /megalogger/datalogger.h | |
parent | a979a3a2c41ef3fe19ec154616460c755ed04a10 (diff) | |
download | 2021-arduino-obd-f2cbbc15143b4192961740fdf342c8d4cfde85d1.tar.gz 2021-arduino-obd-f2cbbc15143b4192961740fdf342c8d4cfde85d1.tar.bz2 2021-arduino-obd-f2cbbc15143b4192961740fdf342c8d4cfde85d1.zip |
Fix compilation issue when GPS is disabled
Diffstat (limited to 'megalogger/datalogger.h')
-rw-r--r-- | megalogger/datalogger.h | 2 |
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) { |