refining asettings
This commit is contained in:
@@ -52,7 +52,7 @@ menu "PrincessPiTracker Config"
|
|||||||
|
|
||||||
config DEEP_SLEEP_BURST_COUNT
|
config DEEP_SLEEP_BURST_COUNT
|
||||||
int "Number of Advertisements per Burst"
|
int "Number of Advertisements per Burst"
|
||||||
default 3
|
default 4
|
||||||
range 1 100
|
range 1 100
|
||||||
depends on DEEP_SLEEP_BURST_MODE
|
depends on DEEP_SLEEP_BURST_MODE
|
||||||
help
|
help
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#include "freertos/task.h"
|
#include "freertos/task.h"
|
||||||
|
|
||||||
// calculate da burst delay and burst delay microseconds
|
// 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)
|
#define DEEP_SLEEP_BURST_DELAY_MICROS (CONFIG_DEEP_SLEEP_DURATION_S * 1000000)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user