Skip to content

Commit

Permalink
squash! cpu/stm32_common: unify gpio driver
Browse files Browse the repository at this point in the history
Remove redondant function prototype from cpu headers
  • Loading branch information
Vincent Dupont committed Mar 7, 2017
1 parent fdabad2 commit 88c8720
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
10 changes: 0 additions & 10 deletions cpu/stm32f3/include/periph_cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ typedef struct {
uint8_t chan; /**< DAC device used for this line */
} dac_conf_t;

/**
* @brief Configure the alternate function for the given pin
*
* @note This is meant for internal use in STM32F4 peripheral drivers only
*
* @param[in] pin pin to configure
* @param[in] af alternate function to use
*/
void gpio_init_af(gpio_t pin, gpio_af_t af);

#ifdef __cplusplus
}
#endif
Expand Down
10 changes: 0 additions & 10 deletions cpu/stm32l1/include/periph_cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,6 @@ typedef struct {
uint8_t ev_irqn; /**< event IRQ */
} i2c_conf_t;

/**
* @brief Configure the alternate function for the given pin
*
* @note This is meant for internal use in STM32L1 peripheral drivers only
*
* @param[in] pin pin to configure
* @param[in] af alternate function to use
*/
void gpio_init_af(gpio_t pin, gpio_af_t af);

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 88c8720

Please sign in to comment.