Mapped audio mute
This commit is contained in:
committed by
Malte Langermann
parent
11c0bb55e0
commit
12430ddc2a
@@ -522,6 +522,13 @@
|
|||||||
#define AUDIO_TIMER TIM6
|
#define AUDIO_TIMER TIM6
|
||||||
#define AUDIO_DMA DMA1
|
#define AUDIO_DMA DMA1
|
||||||
|
|
||||||
|
#if defined(RADIO_NB4P)
|
||||||
|
#define AUDIO_MUTE_GPIO GPIO_PIN(GPIOH, 9) // PH.09 audio amp control pin
|
||||||
|
#define AUDIO_UNMUTE_DELAY 120 // ms
|
||||||
|
#define AUDIO_MUTE_DELAY 500 // ms
|
||||||
|
#define INVERTED_MUTE_PIN
|
||||||
|
#endif
|
||||||
|
|
||||||
// I2C Bus
|
// I2C Bus
|
||||||
#define I2C_B1 I2C1
|
#define I2C_B1 I2C1
|
||||||
#define I2C_B1_SCL_GPIO GPIO_PIN(GPIOB, 8) // PB.08
|
#define I2C_B1_SCL_GPIO GPIO_PIN(GPIOB, 8) // PB.08
|
||||||
|
|||||||
Reference in New Issue
Block a user