tests/driver_dac_dds: Initialize at DC-free state

This commit is contained in:
chrysn 2020-12-11 09:40:25 +01:00
parent 198da1291b
commit 057de665f1

View File

@ -315,6 +315,8 @@ static const shell_command_t shell_commands[] = {
int main(void)
{
dac_init(DAC_DDS_DAC);
/* Initialize to the idle level of 16bit audio */
dac_set(DAC_DDS_DAC, 1 << 15);
_dac_init();
/* start the shell */