Browse Source

lm3s: Cosmetics.

pull/2/head
Uwe Hermann 13 years ago
parent
commit
99f4ca3b22
  1. 3
      examples/lm3s/lm3s3748-evb/miniblink/miniblink.c

3
examples/lm3s/lm3s3748-evb/miniblink/miniblink.c

@ -25,7 +25,7 @@ void gpio_setup(void)
SYSTEMCONTROL_RCGC2 |= 0x20; /* Enable GPIOF in run mode. */ SYSTEMCONTROL_RCGC2 |= 0x20; /* Enable GPIOF in run mode. */
GPIO_DIR(GPIOF) |= (1 << 0); /* Configure PF0 as output. */ GPIO_DIR(GPIOF) |= (1 << 0); /* Configure PF0 as output. */
GPIO_DEN(GPIOF) |= (1 << 0); /* Enable digital function on PF0 */ GPIO_DEN(GPIOF) |= (1 << 0); /* Enable digital function on PF0. */
} }
int main(void) int main(void)
@ -49,4 +49,3 @@ int main(void)
return 0; return 0;
} }

Loading…
Cancel
Save