diff options
author | Leo P | 2020-07-03 02:45:54 -0400 |
---|---|---|
committer | Leo P | 2020-07-03 02:45:54 -0400 |
commit | 818bc9594e3286566abc0f6bd9cd08fbf31df8ac (patch) | |
tree | c7598682e52f7948997ea11653ca67446e7c49cd /atomicpi-hold-mic | |
parent | 837551f6d4240edd236a88bd83d075952ceeef13 (diff) | |
download | aur-atomicpi-utils.tar.gz |
moved sources to external repo, added licence and upstream URL
Diffstat (limited to 'atomicpi-hold-mic')
-rwxr-xr-x | atomicpi-hold-mic | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/atomicpi-hold-mic b/atomicpi-hold-mic deleted file mode 100755 index 56c747934712..000000000000 --- a/atomicpi-hold-mic +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -. /usr/lib/atomicpi.sh - -if [ "$1" = "--cleanup" ]; then - atomicpi_gpio_hardware && gpioset --mode=time --us=200000 $ATOMICPICHIP_AU_MIC_SEL=1 -fi - -if [ -z "$1" ]; then - # Hold AU_MIC_SEL low to enable recording from microphone - if atomicpi_gpio_hardware; then - exec gpioset --mode=signal $ATOMICPICHIP_AU_MIC_SEL=0 - else - while true; do - sleep 2147483647; - done - fi -fi |