mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 05:05:43 +01:00
BAT: Use colon instead of comma for separation
Use colon instead of comma to separate frequency parameters, for in several locale comma may be handled as decimal point. Signed-off-by: Lu, Han <han.lu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
2d0a124674
commit
8c910830f0
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ static void get_sine_frequencies(struct bat *bat, char *freq)
|
|||
{
|
||||
char *tmp1;
|
||||
|
||||
tmp1 = strchr(freq, ',');
|
||||
tmp1 = strchr(freq, ':');
|
||||
if (tmp1 == NULL) {
|
||||
bat->target_freq[1] = bat->target_freq[0] = atof(optarg);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue