From fd2c98033c6fb9ea380d06a0e85f1ed00414924e Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 29 Nov 2025 17:06:47 -0700 Subject: [PATCH] refining asettings --- main/Kconfig.projbuild | 2 +- main/PrincessPiTracker.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/Kconfig.projbuild b/main/Kconfig.projbuild index 7ba21b9..b006c70 100644 --- a/main/Kconfig.projbuild +++ b/main/Kconfig.projbuild @@ -52,7 +52,7 @@ menu "PrincessPiTracker Config" config DEEP_SLEEP_BURST_COUNT int "Number of Advertisements per Burst" - default 3 + default 4 range 1 100 depends on DEEP_SLEEP_BURST_MODE help diff --git a/main/PrincessPiTracker.c b/main/PrincessPiTracker.c index 2cef5b8..48fc197 100644 --- a/main/PrincessPiTracker.c +++ b/main/PrincessPiTracker.c @@ -18,7 +18,7 @@ #include "freertos/task.h" // calculate da burst delay and burst delay microseconds -#define DEEP_SLEEP_BURST_DELAY (CONFIG_DEEP_SLEEP_BURST_COUNT * CONFIG_ADVERTISEMENT_INTERVAL) +#define DEEP_SLEEP_BURST_DELAY ((CONFIG_DEEP_SLEEP_BURST_COUNT * CONFIG_ADVERTISEMENT_INTERVAL) + CONFIG_ADVERTISEMENT_INTERVAL) // +CONFIG_ADVERTISEMENT_INTERVAL so the silly thing will be sure to boadcast dem all and not die before, using CONFIG_ADVERTISEMENT_INTERVAL because presumably it'll keep the extra time in rough check with the interval ig #define DEEP_SLEEP_BURST_DELAY_MICROS (CONFIG_DEEP_SLEEP_DURATION_S * 1000000) #endif