summaryrefslogtreecommitdiffstats
path: root/include/xas
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-17 20:43:35 -0400
committerXANTRONIX Development2022-03-17 20:43:35 -0400
commit8ce8ec1c8c2531c7b78b2bf36241fa2e7b5c1da0 (patch)
tree6a0eca04e6482143638b6e52f4f596f807168ed4 /include/xas
parent36c3f7e4a45cd7d6c1799ae7abba9a8dc2ae4dee (diff)
downloadxas-8ce8ec1c8c2531c7b78b2bf36241fa2e7b5c1da0.tar.gz
xas-8ce8ec1c8c2531c7b78b2bf36241fa2e7b5c1da0.tar.bz2
xas-8ce8ec1c8c2531c7b78b2bf36241fa2e7b5c1da0.zip
Implement xas_drone_seq_beep()
Implement xas_drone_seq_beep() to schedule a one-second beep from a single drone
Diffstat (limited to 'include/xas')
-rw-r--r--include/xas/drone.h5
1 files changed, 5 insertions, 0 deletions
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
*/