8000 Removed pinMode from PIN_MAP · ArduinoWorks/Arduino_STM32@95dde2e · GitHub
[go: up one dir, main page]

Skip to content

Commit 95dde2e

Browse files
committed
Removed pinMode from PIN_MAP
1 parent aebb14f commit 95dde2e

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

STM32F1/cores/maple/wirish_types.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ typedef struct stm32_pin_info {
5555
uint8 gpio_bit; /**< Pin's GPIO port bit. */
5656
uint8 timer_channel; /**< Timer channel, or 0 if none. */
5757
uint8 adc_channel; /**< Pin ADC channel, or ADCx if none. */
58-
uint8 pinMode; /**< mode specific by pinMode call (Roger Clark added to optimize compatibility with Arduino API*/
5958
} stm32_pin_info;
6059

6160
/**

STM32F1/variants/generic_stm32f103r/board.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ extern const stm32_pin_info PIN_MAP[BOARD_NR_GPIO_PINS] = {
7878
uint8 gpio_bit; Pin's GPIO port bit.
7979
uint8 timer_channel; Timer channel, or 0 if none.
8080
uint8 adc_channel; Pin ADC channel, or ADCx if none.
81-
uint8 pinMode; mode specific by pinMode call (Roger Clark added to optimize compatibility with Arduino API
8281
*/
8382

8483
{&gpioa, &timer2, &adc1, 0, 1, 0}, /* PA0 */

STM32F1/variants/generic_stm32f103z/board.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ extern const stm32_pin_info PIN_MAP[BOARD_NR_GPIO_PINS] = {
7777
uint8 gpio_bit; Pin's GPIO port bit.
7878
uint8 timer_channel; Timer channel, or 0 if none.
7979
uint8 adc_channel; Pin ADC channel, or ADCx if none.
80-
uint8 pinMode; mode specific by pinMode call (Roger Clark added to optimize compatibility with Arduino API
8180
*/
8281

8382
{&gpioa, &timer2, &adc1, 0, 1, 0}, /* PA0 */
@@ -231,4 +230,4 @@ extern const uint8 boardUsedPins[BOARD_NR_USED_PINS] __FLASH__ = {
231230
DEFINE_HWSERIAL(Serial2, 3);
232231
DEFINE_HWSERIAL_UART(Serial3, 4);
233232
DEFINE_HWSERIAL_UART(Serial4, 5);
234-
#endif
233+
#endif

STM32F1/variants/maple_ret6/board.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ extern const stm32_pin_info PIN_MAP[BOARD_NR_GPIO_PINS] = {
7777
uint8 gpio_bit; Pin's GPIO port bit.
7878
uint8 timer_channel; Timer channel, or 0 if none.
7979
uint8 adc_channel; Pin ADC channel, or ADCx if none.
80-
uint8 pinMode; mode specific by pinMode call (Roger Clark added to optimize compatibility with Arduino API
8180
*/
8281

8382
/* Top header */
@@ -175,4 +174,4 @@ DEFINE_HWSERIAL(Serial1, 1);
175174
DEFINE_HWSERIAL(Serial2, 2);
176175
DEFINE_HWSERIAL(Serial3, 3);
177176
DEFINE_HWSERIAL_UART(Serial4, 4);
178-
DEFINE_HWSERIAL_UART(Serial5, 5);
177+
DEFINE_HWSERIAL_UART(Serial5, 5);

0 commit comments

Comments
 (0)
0