view scripts/make-version.sh @ 284:bba917c3b510

aci: don't reset audio volume on AT+CFUN TI's AT-command-controlled modems have always had the peculiar misfeature where the audio volume gets reset to default on AT+CFUN, blowing away any AT+CLVL changes made previously. This misfeature is now getting worse, now that the audio volume may be set as a side effect of audio mode loading, in addition to explicit AT+CLVL. So let's take out this unnecessary audio volume reset.
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 08 Nov 2021 21:52:29 +0000
parents 183b65004077
children
line wrap: on
line source

#!/bin/sh

if [ $# != 1 ]
then
	echo "usage: $0 component-name" 1>&2
	exit 1
fi

echo "static char *verstring_$1 = \"$1 FreeCalypso Tourmaline\";"
echo
echo "char *$1_version(void)"
echo '{'
echo "	return verstring_$1;"
echo '}'