Skip to content
This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Commit bd296fa

Browse files
alfransergiotomasello
authored andcommitted
Fix PIN Info issue #34
1 parent 9aa5f91 commit bd296fa

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

variants/otto/variant.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,6 @@ extern const stm32_pin_info PIN_MAP[GPIO_PINS] = {
140140
{GPIOJ_dev, 3, NULL, 0, AFx, NULL, ADCx}, // PJ3: D77 / LCD_BL - - - -
141141
// AUDIO SELECTION PIN (D78)
142142
{GPIOD_dev, 7, NULL, 0, AFx, NULL, ADCx}, // PD7: D78 / AUDIO_SEL- - - -
143-
// I2C (D79 - D80)
144-
{GPIOH_dev, 4, NULL, 0, AFx, NULL, ADCx}, // PH4: D79 - - - -
145-
{GPIOH_dev, 5, NULL, 0, AFx, NULL, ADCx}, // PH5: D80 - - - -
146143
};
147144

148145
extern const uint8 boardPWMPins[BOARD_NR_PWM_PINS] __FLASH__ = {

variants/otto/variant.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,10 @@
180180
#define SS1 D10
181181

182182
// I2C PIN
183-
#define SCL D70
184-
#define SDA D71
185-
#define SDA1 D20
186-
#define SCL1 D21
183+
#define SCL D71
184+
#define SDA D70
185+
#define SCL1 D20
186+
#define SDA1 D21
187187

188188
// SERIAL PORT PIN
189189
#define RX D0

0 commit comments

Comments
 (0)