Skip to content

Commit

Permalink
Update headsetcontrol_test.c
Browse files Browse the repository at this point in the history
  • Loading branch information
nicola02nb committed Jun 19, 2024
1 parent c7dd7b6 commit 50b7ac1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/devices/headsetcontrol_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ static struct device device_headsetcontrol_test;
#define EQUALIZER_BAND_MAX +10
#define EQUALIZER_PRESETS_COUNT 2

static const uint16_t PRODUCT_IDS[] = { PRODUCT_TESTDEVICE };
static EqualizerInfo EQUALIZER = { EQUALIZER_BANDS_COUNT, EQUALIZER_BASELINE, EQUALIZER_STEP, EQUALIZER_BAND_MIN, EQUALIZER_BAND_MAX };
static const uint16_t PRODUCT_IDS[] = { PRODUCT_TESTDEVICE };
static EqualizerInfo EQUALIZER = { EQUALIZER_BANDS_COUNT, EQUALIZER_BASELINE, EQUALIZER_STEP, EQUALIZER_BAND_MIN, EQUALIZER_BAND_MAX };
static float preset_flat[EQUALIZER_BANDS_COUNT] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
static float preset_random[EQUALIZER_BANDS_COUNT] = { 6, -8, 1.5, 7, -1, -7.5, -9, 0, 9, 10 };
static EqualizerPresets EQUALIZER_PRESETS = {
static EqualizerPresets EQUALIZER_PRESETS = {
EQUALIZER_PRESETS_COUNT,
{ { "flat", preset_flat },
{ "random", preset_random } }
{ "random", preset_random } }
};

static int headsetcontrol_test_send_sidetone(hid_device* device_handle, uint8_t num);
Expand Down

0 comments on commit 50b7ac1

Please sign in to comment.