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:
Colonel Panic
2026-04-20 08:46:38 -04:00
parent 60bed01781
commit 16b93838fb
+1 -1
View File
@@ -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