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
@ -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…
Reference in New Issue
Block a user