Skip to content

Commit 221543f

Browse files
committed
Fix mismatch between variant.h defines and variant.cpp arrays
1 parent 9f97781 commit 221543f

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

variants/STM32H7xx/H742I(G-I)(K-T)_H743I(G-I)(K-T)_H750IB(K-T)_H753II(K-T)/variant_DAISY_PETAL_SM.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ const PinName digitalPin[] = {
4545
PA_2, // D19/A3
4646
PA_7, // D20/A4
4747
PC_1, // D21/A5
48-
PA_5, // D22
49-
PA_4, // D23/A6
50-
PA_1, // D24/A7
51-
PA_0, // D25/A8
52-
PD_11, // D26
53-
PG_9, // D27
54-
PA_2, // D28/A9
48+
PC_4, // D22
49+
PA_5, // D23/A6
50+
PA_4, // D24
51+
PA_1, // D25
52+
PA_0, // D26
53+
PD_11, // D27
54+
PG_9, // D28
5555
PB_14, // D29
5656
PB_15, // D30
5757
// NC, 3v3D Out
@@ -72,8 +72,8 @@ const uint32_t analogInputPin[] = {
7272
17, // A2
7373
18, // A3
7474
19, // A4
75-
21, // A5
76-
28 // A6
75+
20, // A5
76+
22, // A6
7777
};
7878

7979
// ----------------------------------------------------------------------------

variants/STM32H7xx/H742I(G-I)(K-T)_H743I(G-I)(K-T)_H750IB(K-T)_H753II(K-T)/variant_DAISY_PETAL_SM.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636
#define PB1 PIN_A3
3737
#define PA2 PIN_A4
3838
#define PA7 PIN_A5
39-
#define PC1 20
39+
#define PC1 21
4040
#define PC4 PIN_A6
41-
#define PA5 22
42-
#define PA4 23
43-
#define PA1 24
44-
#define PA0 25
45-
#define PD11 26
46-
#define PG9 27
41+
#define PA5 23
42+
#define PA4 24
43+
#define PA1 25
44+
#define PA0 26
45+
#define PD11 27
46+
#define PG9 28
4747
#define PB14 29
4848
#define PB15 30
4949
#define PC7 31

0 commit comments

Comments
 (0)