[X9D] Navigation in CustomFunctions menu
This commit is contained in:
@@ -184,7 +184,7 @@ void audioInit()
|
||||
|
||||
/* Initialize the I2S peripheral with the structure above */
|
||||
I2S_Init(CODEC_I2S, &I2S_InitStructure);
|
||||
I2S_Cmd(CODEC_I2S,ENABLE);
|
||||
I2S_Cmd(CODEC_I2S, ENABLE);
|
||||
//interrupt
|
||||
#ifdef CODEC_USE_INT
|
||||
SPI_I2S_ITConfig(CODEC_I2S,SPI_I2S_IT_TXE,ENABLE);
|
||||
|
||||
@@ -105,12 +105,14 @@ void readKeysAndTrims()
|
||||
++enuk;
|
||||
}
|
||||
|
||||
#if !defined(SIMU)
|
||||
in = readTrims();
|
||||
|
||||
for (i = 1; i < 256; i <<= 1) {
|
||||
keys[enuk].input(in & i, (EnumKeys)enuk);
|
||||
++enuk;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
uint32_t keyState(EnumKeys enuk)
|
||||
|
||||
Reference in New Issue
Block a user