firmware: fix input numberingch5 was shorting all inputs
This commit is contained in:
1 parent
95f4f5dd71
commit
d28508f7bf
2 files changed
+22
-5
No files matched your search
@@ -6,6 +6,11 @@
|
||||
|
||||
#include "stm32f1xx_hal.h"
|
||||
|
||||
#define BD_INPUT_MUTE (1<<4)
|
||||
#define BD_INPUT_ALL (1<<5)
|
||||
|
||||
// number can either be 0-5 (meaning CHANNEL1 to CHANNEL 6)
|
||||
// or BD_INPUT_MUTE or BD_INPUT_SHORT
|
||||
void bd_set_input(I2C_HandleTypeDef * handle, uint8_t number);
|
||||
|
||||
#define BD_MAX_GAIN 20 // gain in db
|
||||
|
||||
Reference in new issue
Block a user