projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lm3s1968: rename the function __delay() to lm3s_busyWait().
[bertos.git]
/
examples
/
lm3s1968
/
hw
/
hw_lcd.h
diff --git
a/examples/lm3s1968/hw/hw_lcd.h
b/examples/lm3s1968/hw/hw_lcd.h
index c59dcb77bf45110b4a175d615e88bd05b870a667..dd2d88d79d6bb45ec8a01ff4e3f7801f6d54b67b 100644
(file)
--- a/
examples/lm3s1968/hw/hw_lcd.h
+++ b/
examples/lm3s1968/hw/hw_lcd.h
@@
-97,7
+97,7
@@
INLINE void lcd_bus_init(void)
SYSCTL_RCGC1_R |= SYSCTL_RCGC1_SSI0;
SYSCTL_RCGC2_R |= SYSCTL_RCGC2_GPIOA;
SYSCTL_RCGC2_R |= SYSCTL_RCGC2_GPIOH;
SYSCTL_RCGC1_R |= SYSCTL_RCGC1_SSI0;
SYSCTL_RCGC2_R |= SYSCTL_RCGC2_GPIOA;
SYSCTL_RCGC2_R |= SYSCTL_RCGC2_GPIOH;
-
__delay
(512);
+
lm3s_busyWait
(512);
/* Configure the SSI0CLK and SSIOTX pins for SSI operation. */
lm3s_gpio_pin_config(GPIO_PORTA_BASE, BV(2) | BV(3) | BV(5),
/* Configure the SSI0CLK and SSIOTX pins for SSI operation. */
lm3s_gpio_pin_config(GPIO_PORTA_BASE, BV(2) | BV(3) | BV(5),