Skip to content

Commit bd140df

Browse files
authored
Fix Leafony AP03 PB5 pin mapping
Map PB5 to D4, matching digitalPin[4] = PB_5. The previous value 1 aliases PA2 and targets the wrong GPIO. Signed-off-by: Shuya Nakagawa <taltalpmh@gmail.com>
1 parent 21c906e commit bd140df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎variants/STM32L4xx/L452RC(I-T-Y)_L452RE(I-T-Y)x(P)_L462RE(I-T-Y)/variant_LEAFONY_AP03.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#define PA2 1
2020
#define PC7 2
2121
#define PB3 3
22-
#define PB5 1
22+
#define PB5 4
2323
#define PB4 5
2424
#define PA8 6
2525
#define PB12 7

0 commit comments

Comments
 (0)