Added missing static keyword for Tiva gpio_init function.
This commit is contained in:
parent
71f9a8ff50
commit
631ec2d5cb
|
@ -130,7 +130,7 @@
|
||||||
/* Driver local functions. */
|
/* Driver local functions. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
void gpio_init (GPIO_TypeDef *gpiop, const tiva_gpio_setup_t *config)
|
static void gpio_init (GPIO_TypeDef *gpiop, const tiva_gpio_setup_t *config)
|
||||||
{
|
{
|
||||||
gpiop->DATA = config->data;
|
gpiop->DATA = config->data;
|
||||||
gpiop->DIR = config->dir;
|
gpiop->DIR = config->dir;
|
||||||
|
|
Loading…
Reference in New Issue