mirror of
https://github.com/apache/nuttx.git
synced 2026-05-19 11:53:25 +08:00
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:
committed by
Petro Karashchenko
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user