Skip to content

Remove duplicated assertions in the adau1361lower.cpp #8

@suikan4github

Description

@suikan4github

The following two assertions are redundant.

assert((fs == 24000 || fs == 32000 || fs == 48000 || fs == 96000 ||
fs == 22050 || fs == 44100 || fs == 88200) &&
"Bad Fs");

assert(false && "Wrong parameter validation");

We should remove the former one, and give more precise comment to the later assertion.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions