From fa8d172175703f5c118ddaaa0ee40f07d387a20b Mon Sep 17 00:00:00 2001 From: Stanley Huang Date: Sun, 20 Apr 2014 13:25:56 +0800 Subject: Fix bug in datalogger.h --- megalogger/datalogger.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'megalogger/datalogger.h') 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); -- cgit v1.2.3