From 8ce8ec1c8c2531c7b78b2bf36241fa2e7b5c1da0 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Thu, 17 Mar 2022 20:43:35 -0400 Subject: Implement xas_drone_seq_beep() Implement xas_drone_seq_beep() to schedule a one-second beep from a single drone --- include/xas/drone.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/xas/drone.h b/include/xas/drone.h index 28929fd..df16040 100644 --- a/include/xas/drone.h +++ b/include/xas/drone.h @@ -116,6 +116,11 @@ int xas_drone_seq_sample(xas_drone *drone, size_t sample_index, struct timeval *now); +int xas_drone_seq_beep(xas_drone *drone, + xas_seq *seq, + enum xas_drone_mood mood, + struct timeval *now); + /* * Methods for drone vocalisations */ -- cgit v1.2.3