From 1f01b71d4a8a263db4bf235a43cf5bb94f0d689d Mon Sep 17 00:00:00 2001 From: geeksville Date: Sat, 1 Feb 2020 05:01:22 -0800 Subject: [PATCH] require radio now that I've tested with real hardware --- main/configuration.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/configuration.h b/main/configuration.h index 500cf06..a596bce 100644 --- a/main/configuration.h +++ b/main/configuration.h @@ -57,14 +57,14 @@ void ttn_register(void (*callback)(uint8_t message)); #define DEBUG_PORT Serial // Serial debug port #define SERIAL_BAUD 115200 // Serial debug baud rate #define SLEEP_BETWEEN_MESSAGES 0 // Do sleep between messages -#define SEND_INTERVAL 10000 // Sleep for these many millis +#define SEND_INTERVAL 60000 // Sleep for these many millis #define MESSAGE_TO_SLEEP_DELAY 5000 // Time after message before going to sleep #define LOGO_DELAY 5000 // Time to show logo on first boot #define LORAWAN_PORT 10 // Port the messages will be sent to #define LORAWAN_CONFIRMED_EVERY 0 // Send confirmed message every these many messages (0 means never) #define LORAWAN_SF DR_SF7 // Spreading factor #define LORAWAN_ADR 0 // Enable ADR -#define REQUIRE_RADIO false // If true, we will fail to start if the radio is not found +#define REQUIRE_RADIO true // If true, we will fail to start if the radio is not found // If not defined, we will wait for lock forever // #define GPS_WAIT_FOR_LOCK 5000 // Wait 5s after every boot for GPS lock