diff pcm/pcm_tx.c @ 9:e3d16d490ce2

pcm: implement dmw-on and dmw-off commands
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Jun 2024 19:34:08 +0000
parents 70aa8cbdbde9
children 5cf7818a7d08
line wrap: on
line diff
--- a/pcm/pcm_tx.c	Sun Jun 23 19:30:40 2024 +0000
+++ b/pcm/pcm_tx.c	Sun Jun 23 19:34:08 2024 +0000
@@ -76,3 +76,13 @@
 		goto inv_arg;
 	pcm_fill_octet = val;
 }
+
+void cmd_dmw_on(int argc, char **argv)
+{
+	dmw_active = true;
+}
+
+void cmd_dmw_off(int argc, char **argv)
+{
+	dmw_active = false;
+}