Make ENABLE_RADIO debug symbol actually do something
This commit is contained in:
parent
1bbb1fe535
commit
eb3f377d28
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue