mirror of https://github.com/wb2osz/direwolf.git
Remove stray comma
Fixes cppcheck error: src/gen_tone.c:580:0: error: failed to expand 'strlcpy', Wrong number of parameters for macro 'strlcpy'. [preprocessorErrorDirective] strlcpy (my_audio_config.adev[0].adevice_out, DEFAULT_ADEVICE, , sizeof(my_audio_config.adev[0].adevice_out)); ^
This commit is contained in:
parent
11468f26f8
commit
3091ef5351
|
@ -577,7 +577,7 @@ int main ()
|
|||
|
||||
memset (&my_audio_config, 0, sizeof(my_audio_config));
|
||||
strlcpy (my_audio_config.adev[0].adevice_in, DEFAULT_ADEVICE, sizeof(my_audio_config.adev[0].adevice_in));
|
||||
strlcpy (my_audio_config.adev[0].adevice_out, DEFAULT_ADEVICE, , sizeof(my_audio_config.adev[0].adevice_out));
|
||||
strlcpy (my_audio_config.adev[0].adevice_out, DEFAULT_ADEVICE, sizeof(my_audio_config.adev[0].adevice_out));
|
||||
my_audio_config.adev[0].num_channels = 2;
|
||||
|
||||
audio_open (&my_audio_config);
|
||||
|
|
Loading…
Reference in New Issue