diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2014-04-20 13:25:56 +0800 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2014-04-20 13:25:56 +0800 |
commit | fa8d172175703f5c118ddaaa0ee40f07d387a20b (patch) | |
tree | 3bd082e69d7f85dd4b767b9dff14e5d5e4c2a4e9 | |
parent | 9629ada62a954692ccc95ad50cb71f443110662b (diff) | |
download | 2021-arduino-obd-fa8d172175703f5c118ddaaa0ee40f07d387a20b.tar.gz 2021-arduino-obd-fa8d172175703f5c118ddaaa0ee40f07d387a20b.tar.bz2 2021-arduino-obd-fa8d172175703f5c118ddaaa0ee40f07d387a20b.zip |
Fix bug in datalogger.h
-rw-r--r-- | megalogger/datalogger.h | 10 | ||||
-rw-r--r-- | nanologger/datalogger.h | 10 | ||||
-rw-r--r-- | unologger/datalogger.h | 10 |
3 files changed, 15 insertions, 15 deletions
diff --git a/megalogger/datalogger.h b/megalogger/datalogger.h index 1fbcc20..850900f 100644 --- a/megalogger/datalogger.h +++ b/megalogger/datalogger.h @@ -165,7 +165,7 @@ public: ld.checksum = getChecksum((char*)&ld, 12); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 12); #else SerialBLE.print(pid, HEX); @@ -197,7 +197,7 @@ public: ld.checksum = getChecksum((char*)&ld, 12); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 12); #else SerialBLE.print(pid, HEX); @@ -229,7 +229,7 @@ public: ld.checksum = getChecksum((char*)&ld, 16); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 16); #else SerialBLE.print(pid, HEX); @@ -265,7 +265,7 @@ public: ld.checksum = getChecksum((char*)&ld, 16); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 16); #else SerialBLE.print(pid, HEX); @@ -301,7 +301,7 @@ public: ld.checksum = getChecksum((char*)&ld, 20); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 20); #else SerialBLE.print(pid, HEX); diff --git a/nanologger/datalogger.h b/nanologger/datalogger.h index 1fbcc20..850900f 100644 --- a/nanologger/datalogger.h +++ b/nanologger/datalogger.h @@ -165,7 +165,7 @@ public: ld.checksum = getChecksum((char*)&ld, 12); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 12); #else SerialBLE.print(pid, HEX); @@ -197,7 +197,7 @@ public: ld.checksum = getChecksum((char*)&ld, 12); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 12); #else SerialBLE.print(pid, HEX); @@ -229,7 +229,7 @@ public: ld.checksum = getChecksum((char*)&ld, 16); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 16); #else SerialBLE.print(pid, HEX); @@ -265,7 +265,7 @@ public: ld.checksum = getChecksum((char*)&ld, 16); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 16); #else SerialBLE.print(pid, HEX); @@ -301,7 +301,7 @@ public: ld.checksum = getChecksum((char*)&ld, 20); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 20); #else SerialBLE.print(pid, HEX); diff --git a/unologger/datalogger.h b/unologger/datalogger.h index 1fbcc20..850900f 100644 --- a/unologger/datalogger.h +++ b/unologger/datalogger.h @@ -165,7 +165,7 @@ public: ld.checksum = getChecksum((char*)&ld, 12); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 12); #else SerialBLE.print(pid, HEX); @@ -197,7 +197,7 @@ public: ld.checksum = getChecksum((char*)&ld, 12); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 12); #else SerialBLE.print(pid, HEX); @@ -229,7 +229,7 @@ public: ld.checksum = getChecksum((char*)&ld, 16); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 16); #else SerialBLE.print(pid, HEX); @@ -265,7 +265,7 @@ public: ld.checksum = getChecksum((char*)&ld, 16); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 16); #else SerialBLE.print(pid, HEX); @@ -301,7 +301,7 @@ public: ld.checksum = getChecksum((char*)&ld, 20); #endif #if ENABLE_DATA_OUT -#if LOG_FORMAT == FORMAT_BIN +#if STREAM_FORMAT == FORMAT_BIN SerialBLE.write((uint8_t*)&ld, 20); #else SerialBLE.print(pid, HEX); |