Skip to content

Commit e37d7ea

Browse files
authored
removed unused const array
1 parent 467c450 commit e37d7ea

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

STM32F4/variants/generic_f407v/pin_map.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,16 @@ extern timer_dev timer5;
5353
extern timer_dev timer6;
5454
extern timer_dev timer7;
5555
extern timer_dev timer8;
56+
5657
/*
5758
typedef struct stm32_pin_info {
5859
gpio_dev *gpio_device; // Maple pin's GPIO device
59-
uint8 gpio_bit; // Pin's GPIO port bit.
6060
timer_dev *timer_device; // Pin's timer device, if any.
6161
uint8 timer_channel; // Timer channel, or 0 if none.
62-
const adc_dev *adc_device; // ADC device, if any.
6362
uint8 adc_channel; // Pin ADC channel, or ADCx if none.
63+
const adc_dev *adc_device; // ADC device, if any.
6464
} stm32_pin_info;
6565
*/
66-
const stm32_pin_info PIN_MAP1[] = { // LQFP100 package pin
67-
{&GPIOA, &timer5, 1, 0, &ADC1}, // D00/PA0 | 23 | USART2_CTS | UART4_TX | ETH_MII_CRS | TIM2_CH1_ETR | TIM5_CH1 | TIM8_ETR | ADC123_IN0/WKUP
68-
};
69-
7066
const stm32_pin_info PIN_MAP[] = { // LQFP100 package pin
7167
{&GPIOA, &timer5, 1, 0, &ADC1}, // D00/PA0 | 23 | USART2_CTS | UART4_TX | ETH_MII_CRS | TIM2_CH1_ETR | TIM5_CH1 | TIM8_ETR | ADC123_IN0/WKUP
7268
{&GPIOA, &timer5, 2, 1, &ADC1}, // D01/PA1 | 24 | USART2_RTS | UART4_RX | ETH_RMII_REF_CLK | ETH_MII_RX_CLK | TIM5_CH2 | TIM2_CH2 | ADC123_IN1

0 commit comments

Comments
 (0)