Skip to content

Commit eb2e4fc

Browse files
committed
consider crash2 for prototype 5
1 parent fecf861 commit eb2e4fc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

hardware.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ int Edrumulus_hardware::get_prototype_pins(int** analog_pins,
3636
int* status_LED_pin)
3737
{
3838
// clang-format off
39-
// analog pins setup: snare | kick | hi-hat | hi-hat-ctrl | crash | tom1 | ride | tom2 | tom3
39+
// analog pins setup: snare | kick | hi-hat | hi-hat-ctrl | crash | tom1 | ride | tom2 | tom3 | crash2
4040
static int analog_pins1[] = { A10, A11, A12, A13, A1, A6, A4, A5 };
4141
static int analog_pins_rimshot1[] = { A9, -1, A0, -1, A3, A8, A2, A7 };
4242
// clang-format on
@@ -179,9 +179,9 @@ int Edrumulus_hardware::get_prototype_pins(int** analog_pins,
179179
{
180180
// Prototype 5: 0, 0, 0, 0 -----------------------------------------------
181181
// clang-format off
182-
// analog pins setup: snare | kick | hi-hat | hi-hat-ctrl | crash | tom1 | ride | tom2 | tom3
183-
static int analog_pins5[] = { 12, 2, 33, 4, 34, 15, 35, 27, 32 };
184-
static int analog_pins_rimshot5[] = { 14, -1, 26, -1, 36, 13, 25, -1, -1 };
182+
// analog pins setup: snare | kick | hi-hat | hi-hat-ctrl | crash | tom1 | ride | tom2 | tom3 | crash2
183+
static int analog_pins5[] = { 12, 2, 33, 4, 34, 15, 35, 27, 32, 39 };
184+
static int analog_pins_rimshot5[] = { 14, -1, 26, -1, 36, 13, 25, -1, -1, -1 };
185185
// clang-format on
186186
*analog_pins = analog_pins5;
187187
*analog_pins_rimshot = analog_pins_rimshot5;
@@ -193,7 +193,7 @@ int Edrumulus_hardware::get_prototype_pins(int** analog_pins,
193193
{
194194
// Prototype 6: 1, 0, 0, 0 -----------------------------------------------
195195
// clang-format off
196-
// analog pins setup: snare | kick | hi-hat | hi-hat-ctrl | crash | tom1 | ride | tom2 | tom3
196+
// analog pins setup: snare | kick | hi-hat | hi-hat-ctrl | crash | tom1 | ride | tom2 | tom3 | crash2
197197
static int analog_pins6[] = { 36, 33, 32, 25, 34, 39, 27, 12, 15 };
198198
static int analog_pins_rimshot6[] = { 35, -1, 26, -1, 14, -1, 13, -1, -1 };
199199
// clang-format on
@@ -210,7 +210,7 @@ int Edrumulus_hardware::get_prototype_pins(int** analog_pins,
210210
return 4;
211211
# else // CONFIG_IDF_TARGET_ESP32S3
212212
// clang-format off
213-
// analog pins setup: snare | kick | hi-hat | hi-hat-ctrl | crash | tom1 | ride | tom2 | tom3
213+
// analog pins setup: snare | kick | hi-hat | hi-hat-ctrl | crash | tom1 | ride | tom2 | tom3 | crash2
214214
static int analog_pins_s3[] = { 4, 6, 7, 9, 10, 12, 13, 15, 16 };
215215
static int analog_pins_rimshot_s3[] = { 5, -1, 8, -1, 11, -1, 14, -1, -1 };
216216
// clang-format on

0 commit comments

Comments
 (0)