Skip to content

Commit

Permalink
firmware: Fix C&PI's configuration so that it properly inverts the pu…
Browse files Browse the repository at this point in the history
…lse width CV ADC code.
  • Loading branch information
theacodes committed Sep 11, 2023
1 parent dc29639 commit 19a033c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/src/config/gem_i_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
#include "gem_spi.h"

static const struct GemADCInput GEM_I_ADC_INPUTS[] = {
GEM_ADC_INPUT(A, 5, 5), // Duty A
GEM_ADC_INPUT_INVERTED(A, 5, 5), // Duty A
GEM_ADC_INPUT_INVERTED(A, 8, 16), // Duty A Pot
GEM_ADC_INPUT(B, 9, 3), // Duty B
GEM_ADC_INPUT_INVERTED(B, 9, 3), // Duty B
GEM_ADC_INPUT_INVERTED(A, 9, 17), // Duty B Pot
GEM_ADC_INPUT_INVERTED(A, 2, 0), // Chorus pot
GEM_ADC_INPUT_INVERTED(B, 3, 11), // CV A Pot
Expand Down

0 comments on commit 19a033c

Please sign in to comment.