Fix lc823450_i2s.c:277:7: error: variable 'n' is used uninitialized whenever switch default is taken
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
bc04edecc1
commit
7c88ef1e6a
1 changed files with 3 additions and 3 deletions
|
|
@ -257,10 +257,10 @@ extern unsigned int XT1OSC_CLK;
|
|||
|
||||
static void _setup_audio_pll(uint32_t freq)
|
||||
{
|
||||
DEBUGASSERT(24000000 == XT1OSC_CLK);
|
||||
uint32_t m = 0;
|
||||
uint32_t n = 0;
|
||||
|
||||
uint32_t m;
|
||||
uint32_t n;
|
||||
DEBUGASSERT(24000000 == XT1OSC_CLK);
|
||||
|
||||
switch (freq)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue