mirror of
https://github.com/colonelpanichacks/flock-you.git
synced 2026-06-11 06:33:31 -07:00
audio: tighten heartbeat active window to 3 s
Only consider a target 'still around' if it was seen within the last 3 seconds (was 20 s). Heartbeat interval stays 10 s. Net effect: the monotone beep-pair only fires while the device is actively in RF range, stops almost immediately on departure.
This commit is contained in:
@@ -44,7 +44,7 @@ static const size_t fullHopChannelCount = sizeof(fullHopChannels) / sizeof(full
|
||||
// Audio cadence: two fast ascending beeps on a NEW MAC, then while any
|
||||
// target is still in range (seen within HB_DEVICE_ACTIVE_MS), two monotone
|
||||
// heartbeat beeps every HB_BEEP_INTERVAL_MS.
|
||||
#define HB_DEVICE_ACTIVE_MS 20000
|
||||
#define HB_DEVICE_ACTIVE_MS 3000
|
||||
#define HB_BEEP_INTERVAL_MS 10000
|
||||
#define NEW_CHIRP_LO_HZ 2000
|
||||
#define NEW_CHIRP_HI_HZ 2800
|
||||
|
||||
Reference in New Issue
Block a user