aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib/hal_uart.c
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-08-12 18:13:45 -0700
committerNick Foster <nick@nerdnetworks.org>2010-08-12 18:13:45 -0700
commit6be2b64ce86f4bb9f36bae8758d7de2ddbabe2b1 (patch)
treeb3f0745f41dec7531aabc9c5a3a73dca869fc84f /firmware/microblaze/lib/hal_uart.c
parente2fcb815141b05205ea9334e2db78f9ceffa62c3 (diff)
downloaduhd-6be2b64ce86f4bb9f36bae8758d7de2ddbabe2b1.tar.gz
uhd-6be2b64ce86f4bb9f36bae8758d7de2ddbabe2b1.tar.bz2
uhd-6be2b64ce86f4bb9f36bae8758d7de2ddbabe2b1.zip
Fixed GPS UART stuff. Works OK.
Diffstat (limited to 'firmware/microblaze/lib/hal_uart.c')
-rw-r--r--firmware/microblaze/lib/hal_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/microblaze/lib/hal_uart.c b/firmware/microblaze/lib/hal_uart.c
index c85bcaca3..a8344daf5 100644
--- a/firmware/microblaze/lib/hal_uart.c
+++ b/firmware/microblaze/lib/hal_uart.c
@@ -64,7 +64,7 @@ void hal_uart_set_speed(hal_uart_name_t uart, hal_uart_speed_t speed)
void
hal_uart_init(void)
{
- for(int i = 0; i < 2; i++) { //uart 3 is unused
+ for(int i = 0; i < 3; i++) {
hal_uart_set_mode(i, uart_mode[i]);
hal_uart_set_speed(i, uart_speeds[i]);
}