From d1df8ce7e7d9633254b95a14fc5be28b97b0b2d4 Mon Sep 17 00:00:00 2001
From: patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>
Date: Fri, 8 Oct 2010 01:38:08 +0000
Subject: [PATCH] typos

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2976 42af7a65-404d-4744-a932-0658087f49c3
---
 arch/avr/src/at91uc3/at91uc3_serial.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/arch/avr/src/at91uc3/at91uc3_serial.c b/arch/avr/src/at91uc3/at91uc3_serial.c
index ae0dd1453b..f5d80ebf97 100644
--- a/arch/avr/src/at91uc3/at91uc3_serial.c
+++ b/arch/avr/src/at91uc3/at91uc3_serial.c
@@ -1,7 +1,7 @@
 /****************************************************************************
- * arch/arm/src/stm32/avr32_serial.c
+ * arch/avr/src/at91uc3/at91uc3_serial.c
  *
- *   Copyright (C) 2009 Gregory Nutt. All rights reserved.
+ *   Copyright (C) 2010 Gregory Nutt. All rights reserved.
  *   Author: Gregory Nutt <spudmonkey@racsa.co.cr>
  *
  * Redistribution and use in source and binary forms, with or without
@@ -422,10 +422,8 @@ static int up_setup(struct uart_dev_s *dev)
   
   regval = up_serialout(priv, AVR32_USART_MR_OFFSET, regval);
 
-
-  /* Enable interrupts at the UART */
+  /* Disable interrupts at the UART */
 #warning "Not Implemented"
-/*  priv->ie    = */
 
   /* Configure hardware flow control -- Not yet supported */
 #warning "Not Implemented"
@@ -437,6 +435,9 @@ static int up_setup(struct uart_dev_s *dev)
 #warning "Not Implemented"
 #endif
 
+  /* Initialize the IMR shadow register */
+
+  priv->ie    = up_serialout(priv, AVR32_USART_IMR_OFFSET, regval);;
   return OK;
 }
 
-- 
GitLab