diff --git a/main/configuration.h b/main/configuration.h index c29ced1..672f211 100644 --- a/main/configuration.h +++ b/main/configuration.h @@ -41,7 +41,7 @@ along with this program. If not, see . #define BATTERY_LOW_VOLTAGE 3.4 // Below this voltage, power off until USB power allows charging #define LORAWAN_PORT 2 // FPort for Uplink messages -- must match Helium Console Decoder script! -#define LORAWAN_CONFIRMED_EVERY 0 // Send confirmed message for ACK every N messages (0 means never, 1 means always, 2 every-other-one..) +#define LORAWAN_CONFIRMED_EVERY 10 // Send confirmed message for ACK every N messages (0 means never, 1 means always, 2 every-other-one..) #define LORAWAN_SF DR_SF7 // Spreading factor (recommended DR_SF7 for network map purposes, DR_SF10 is slower/more-reach) // Uncomment to enable discarding network settings by long pressing second button diff --git a/main/main.ino b/main/main.ino index 48ad5b6..2ad4d48 100644 --- a/main/main.ino +++ b/main/main.ino @@ -188,7 +188,7 @@ bool trySend() } // SEND a Packet! - digitalWrite(RED_LED, LOW); + // digitalWrite(RED_LED, LOW); // The first distance-moved is crazy, since has no origin.. don't put it on screen. if (dist_moved > 1000000)