diff --git a/iot/main/main.ino b/iot/main/main.ino index 013955f..b4cb88e 100644 --- a/iot/main/main.ino +++ b/iot/main/main.ino @@ -68,9 +68,10 @@ void setup() { message[sizeof(uint32_t) + sizeof(float) + i] = bytes_lng[i]; } + #ifdef ENABLE_RADIO transmit_init(); transmit_send(message, message_size); - + #endif power_off(); // Doesn't return } diff --git a/iot/main/settings.h b/iot/main/settings.h index a6396fb..d245323 100644 --- a/iot/main/settings.h +++ b/iot/main/settings.h @@ -72,7 +72,7 @@ #define SD_FILENAME F("data.tsv") // Whether to write debug information to the filename below. This could compromise privacy, so it should be commented out for production. -#define SD_DEBUG_ENABLED +// #define SD_DEBUG_ENABLED // The filename on the microSD card to store debug information in #define SD_FILENAME_DEBUG F("debug.log")