refining asettings
This commit is contained in:
1 parent
496f52a39e
commit
fd2c98033c
2 files changed
+2
-2
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user